diff options
author | Dave Airlie <airlied@redhat.com> | 2013-02-07 01:10:04 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-02-07 03:37:41 +0100 |
commit | 9f23de52b64f7fb801fd76f3dd8651a0dc89187b (patch) | |
tree | d59aff17367e0f32be4e3b177caae28d44e62c42 /drivers/gpu/drm/drm_usb.c | |
parent | fbcon: don't lose the console font across generic->chip driver switch (diff) | |
download | linux-9f23de52b64f7fb801fd76f3dd8651a0dc89187b.tar.xz linux-9f23de52b64f7fb801fd76f3dd8651a0dc89187b.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_usb.c b/drivers/gpu/drm/drm_usb.c index 3cec30611417..34a156f0c336 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); |