summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-02-07 04:10:04 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-28 18:32:26 +0400
commit4b5784741fdfdb5fa91edc6ea8fc5eeeed0b4a6a (patch)
tree4d2617789c94cbd144665cc9a00c6254e29d5392 /drivers
parentddab81f4d0998efd4d3e288a26379fb4957cb5f7 (diff)
downloadlinux-4b5784741fdfdb5fa91edc6ea8fc5eeeed0b4a6a.tar.xz
drm/usb: bind driver to correct device
commit 9f23de52b64f7fb801fd76f3dd8651a0dc89187b upstream. While looking at plymouth on udl I noticed that plymouth was trying to use its fb plugin not its drm one, it was trying to drmOpen a driver called usb not udl, noticed that we actually had out driver pointing at the wrong device. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/drm_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_usb.c b/drivers/gpu/drm/drm_usb.c
index 206d2300d873..0c853f5c9c8f 100644
--- a/drivers/gpu/drm/drm_usb.c
+++ b/drivers/gpu/drm/drm_usb.c
@@ -18,7 +18,7 @@ int drm_get_usb_dev(struct usb_interface *interface,
usbdev = interface_to_usbdev(interface);
dev->usbdev = usbdev;
- dev->dev = &usbdev->dev;
+ dev->dev = &interface->dev;
mutex_lock(&drm_global_mutex);