summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_stub.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2010-12-15 07:13:55 +1000
committerDave Airlie <airlied@redhat.com>2011-02-07 13:09:42 +1000
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 0bf2c773c6c..001273d57f2 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)
drm_put_minor(&dev->primary);
+ list_del(&dev->driver_item);
if (dev->devname) {
kfree(dev->devname);
dev->devname = NULL;