drm/vmwgfx: drm_connector_property -> drm_object_property
authorRob Clark <rob@ti.com>
Fri, 12 Oct 2012 01:47:14 +0000 (20:47 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 30 Nov 2012 16:20:11 +0000 (10:20 -0600)
Signed-off-by: Rob Clark <rob@ti.com>
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c

index 070fb239c5af80c62d5f16c868f1ffcde795d25e..79f7e8e605296902bb4355b78e2e78d1792f89fa 100644 (file)
@@ -373,7 +373,7 @@ static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit)
 
        drm_mode_crtc_set_gamma_size(crtc, 256);
 
-       drm_connector_attach_property(connector,
+       drm_object_attach_property(&connector->base,
                                      dev->mode_config.dirty_info_property,
                                      1);
 
index 60f12855362bbee204bac685bcebcc27e988073c..26387c3d5a21f01c51d844c228f26a6232b84453 100644 (file)
@@ -468,7 +468,7 @@ static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit)
 
        drm_mode_crtc_set_gamma_size(crtc, 256);
 
-       drm_connector_attach_property(connector,
+       drm_object_attach_property(&connector->base,
                                      dev->mode_config.dirty_info_property,
                                      1);