aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_stub.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2010-12-14 16:13:55 -0500
committerDave Airlie <airlied@redhat.com>2011-02-06 22:09:42 -0500
commita250b9fdc53a286d32e22f21170382a46b3a3ef5 (patch)
tree46bca176ce307f951d3e154b7a41ddd43fdee0ac /drivers/gpu/drm/drm_stub.c
parent8410ea3b95d105a5be5db501656f44bbb91197c1 (diff)
drm: add usb framework
This adds an initial framework to plug USB graphics devices into the drm/kms subsystem. I've started writing a displaylink driver using this interface. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_stub.c')
-rw-r--r--drivers/gpu/drm/drm_stub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c
index 0bf2c773c6c5..001273d57f2d 100644
--- a/drivers/gpu/drm/drm_stub.c
+++ b/drivers/gpu/drm/drm_stub.c
@@ -463,6 +463,7 @@ void drm_put_dev(struct drm_device *dev)
463 463
464 drm_put_minor(&dev->primary); 464 drm_put_minor(&dev->primary);
465 465
466 list_del(&dev->driver_item);
466 if (dev->devname) { 467 if (dev->devname) {
467 kfree(dev->devname); 468 kfree(dev->devname);
468 dev->devname = NULL; 469 dev->devname = NULL;