@@ -2580,7 +2580,7 @@ bool intel_dpd_is_edp(struct drm_device *dev)
}
static void
-intel_dp_add_properties(struct intel_dp *intel_dp, struct drm_connector *connector)
+intel_dp_add_properties(struct drm_connector *connector)
{
intel_attach_force_audio_property(connector);
intel_attach_broadcast_rgb_property(connector);
@@ -2774,7 +2774,7 @@ intel_dp_init(struct drm_device *dev, int output_reg, enum port port)
intel_panel_setup_backlight(dev);
}
- intel_dp_add_properties(intel_dp, connector);
+ intel_dp_add_properties(connector);
/* For G4X desktop chip, PEG_BAND_GAP_DATA 3:0 must first be written
* 0xd. Failure to do so will result in spurious interrupts being
@@ -893,7 +893,7 @@ static const struct drm_encoder_funcs intel_hdmi_enc_funcs = {
};
static void
-intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct drm_connector *connector)
+intel_hdmi_add_properties(struct drm_connector *connector)
{
intel_attach_force_audio_property(connector);
intel_attach_broadcast_rgb_property(connector);
@@ -981,7 +981,7 @@ void intel_hdmi_init(struct drm_device *dev, int sdvox_reg, enum port port)
else
drm_encoder_helper_add(&intel_encoder->base, &intel_hdmi_helper_funcs);
- intel_hdmi_add_properties(intel_hdmi, connector);
+ intel_hdmi_add_properties(connector);
intel_connector_attach_encoder(intel_connector, intel_encoder);
drm_sysfs_connector_add(connector);