summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_sdvo.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-23 20:29:27 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-29 16:35:33 +0300
commit5d2fd49db9b48c37041d0f9565b1c6fad2c09ce3 (patch)
tree50d95515a477452068fcffcc07855d49467f6f0d /drivers/gpu/drm/i915/display/intel_sdvo.c
parentd13dde4495800c4e7b98d81eab9472ae248ff49e (diff)
downloadlinux-5d2fd49db9b48c37041d0f9565b1c6fad2c09ce3.tar.gz
linux-5d2fd49db9b48c37041d0f9565b1c6fad2c09ce3.tar.bz2
linux-5d2fd49db9b48c37041d0f9565b1c6fad2c09ce3.zip
drm/i915: Pass intel_connector to intel_panel_{init,fini}()
All the other intel_panel functions take struct intel_connector, so might as well make init()/fini() take one as well. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220323182935.4701-2-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_sdvo.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_sdvo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_sdvo.c b/drivers/gpu/drm/i915/display/intel_sdvo.c
index 328a8f20c63b..a2061b132107 100644
--- a/drivers/gpu/drm/i915/display/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/display/intel_sdvo.c
@@ -2928,7 +2928,7 @@ intel_sdvo_lvds_init(struct intel_sdvo *intel_sdvo, int device)
struct drm_display_mode *fixed_mode =
drm_mode_duplicate(connector->dev, mode);
- intel_panel_init(&intel_connector->panel,
+ intel_panel_init(intel_connector,
fixed_mode, NULL);
break;
}