diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-29 06:12:44 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-10 03:43:10 -0400 |
commit | c5786fe5f1c50941dbe27fc8b4aa1afee46ae893 (patch) | |
tree | a2a8786bdb77a90b319c4e0ced2bf8cceff52f01 /drivers/gpu/drm/drm_usb.c | |
parent | 915b4d11b8b9e7b84ba4a4645b6cc7fbc0c071cf (diff) |
drm: Goody bye, drm_bus!
..we will not miss you..
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_usb.c')
-rw-r--r-- | drivers/gpu/drm/drm_usb.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/drm/drm_usb.c b/drivers/gpu/drm/drm_usb.c index f2fe94aab901..9c434905d37f 100644 --- a/drivers/gpu/drm/drm_usb.c +++ b/drivers/gpu/drm/drm_usb.c | |||
@@ -36,16 +36,6 @@ err_free: | |||
36 | } | 36 | } |
37 | EXPORT_SYMBOL(drm_get_usb_dev); | 37 | EXPORT_SYMBOL(drm_get_usb_dev); |
38 | 38 | ||
39 | static int drm_usb_set_busid(struct drm_device *dev, | ||
40 | struct drm_master *master) | ||
41 | { | ||
42 | return 0; | ||
43 | } | ||
44 | |||
45 | static struct drm_bus drm_usb_bus = { | ||
46 | .set_busid = drm_usb_set_busid, | ||
47 | }; | ||
48 | |||
49 | /** | 39 | /** |
50 | * drm_usb_init - Register matching USB devices with the DRM subsystem | 40 | * drm_usb_init - Register matching USB devices with the DRM subsystem |
51 | * @driver: DRM device driver | 41 | * @driver: DRM device driver |
@@ -61,8 +51,6 @@ int drm_usb_init(struct drm_driver *driver, struct usb_driver *udriver) | |||
61 | int res; | 51 | int res; |
62 | DRM_DEBUG("\n"); | 52 | DRM_DEBUG("\n"); |
63 | 53 | ||
64 | driver->bus = &drm_usb_bus; | ||
65 | |||
66 | res = usb_register(udriver); | 54 | res = usb_register(udriver); |
67 | return res; | 55 | return res; |
68 | } | 56 | } |