drm/i915: One more drm_connector_property -> drm_object_property
authorRob Clark <rob@ti.com>
Fri, 12 Oct 2012 01:36:04 +0000 (20:36 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 30 Nov 2012 16:29:51 +0000 (10:29 -0600)
One new drm_connector_attach_property() snuck in after the initial patch
was written.

Signed-off-by: Rob Clark <rob@ti.com>
drivers/gpu/drm/i915/intel_dp.c

index d76258dcb8f801002784a8f62c5ca9a88858ddb4..1b63d55318a0b466cdd45f6fcfb9af9259473557 100644 (file)
@@ -2569,8 +2569,8 @@ intel_dp_add_properties(struct intel_dp *intel_dp, struct drm_connector *connect
 
        if (is_edp(intel_dp)) {
                drm_mode_create_scaling_mode_property(connector->dev);
-               drm_connector_attach_property(
-                       connector,
+               drm_object_attach_property(
+                       &connector->base,
                        connector->dev->mode_config.scaling_mode_property,
                        DRM_MODE_SCALE_ASPECT);
                intel_connector->panel.fitting_mode = DRM_MODE_SCALE_ASPECT;