summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_stub.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2010-12-15 00:13:55 +0300
committerDave Airlie <airlied@redhat.com>2011-02-07 06:09:42 +0300
commita250b9fdc53a286d32e22f21170382a46b3a3ef5 (patch)
tree46bca176ce307f951d3e154b7a41ddd43fdee0ac /drivers/gpu/drm/drm_stub.c
parent8410ea3b95d105a5be5db501656f44bbb91197c1 (diff)
downloadlinux-a250b9fdc53a286d32e22f21170382a46b3a3ef5.tar.xz
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)
drm_put_minor(&dev->primary);
+ list_del(&dev->driver_item);
if (dev->devname) {
kfree(dev->devname);
dev->devname = NULL;