diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-07-09 11:42:57 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-07-10 02:01:38 (GMT) |
commit | 62eb3e20f8f3ca9de4a17f87effe534d6a691176 (patch) | |
tree | 6733f2e9b23fb1d98a5f3de09be22d04916f0cf5 /drivers/gpu/drm/tilcdc/tilcdc_slave.c | |
parent | 75bc08ab276f3e6f436847328631a07f30f973c4 (diff) | |
download | linux-62eb3e20f8f3ca9de4a17f87effe534d6a691176.tar.xz |
drm/tilcdc: Fix build breakage
Commit 34ea3d386347 ("drm: add register and unregister functions
for connectors") probably missed out converting the
drm_sysfs_connector_remove instances in the following files.
Without this patch we get the following compilation error:
ERROR: "drm_sysfs_connector_remove" [drivers/gpu/drm/tilcdc/tilcdc.ko] undefined!
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
CC: Thomas Wood <thomas.wood@intel.com>
CC: David Herrmann <dh.herrmann@gmail.com>
CC: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_slave.c')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave.c b/drivers/gpu/drm/tilcdc/tilcdc_slave.c index f02cb7c..3775fd4 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_slave.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_slave.c @@ -166,7 +166,7 @@ struct slave_connector { static void slave_connector_destroy(struct drm_connector *connector) { struct slave_connector *slave_connector = to_slave_connector(connector); - drm_sysfs_connector_remove(connector); + drm_connector_unregister(connector); drm_connector_cleanup(connector); kfree(slave_connector); } |