summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_usb.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-02-07 10:10:04 +1000
committerDave Airlie <airlied@redhat.com>2013-02-07 12:37:41 +1000
commit9f23de52b64f7fb801fd76f3dd8651a0dc89187b (patch)
treed59aff17367e0f32be4e3b177caae28d44e62c42 /drivers/gpu/drm/drm_usb.c
parentae1287865f5361fa138d4d3b1b6277908b54eac9 (diff)
drm/usb: bind driver to correct device
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. Cc: stable@vger.kernel.org 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.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 3cec3061141..34a156f0c33 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);