diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-17 14:20:07 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-17 14:20:07 +1000 |
commit | 45ea5dcde62db8eccc8503defae3c3353256975d (patch) | |
tree | fd2efe34395e397359c44b9ddb762de9a224bd91 /drivers/char/drm/drm_stub.c | |
parent | cca5307d178c931e70a642302b56fa2701d02253 (diff) | |
download | blackbird-op-linux-45ea5dcde62db8eccc8503defae3c3353256975d.tar.gz blackbird-op-linux-45ea5dcde62db8eccc8503defae3c3353256975d.zip |
drm: add idr_init to drm_stub.c
Brown paper bag for me this patch chunk didn't make it in the first application
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_stub.c')
-rw-r--r-- | drivers/char/drm/drm_stub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/drm/drm_stub.c b/drivers/char/drm/drm_stub.c index 9138b49e676e..ee83ff9efed6 100644 --- a/drivers/char/drm/drm_stub.c +++ b/drivers/char/drm/drm_stub.c @@ -72,6 +72,8 @@ static int drm_fill_in_dev(struct drm_device * dev, struct pci_dev *pdev, mutex_init(&dev->struct_mutex); mutex_init(&dev->ctxlist_mutex); + idr_init(&dev->drw_idr); + dev->pdev = pdev; dev->pci_device = pdev->device; dev->pci_vendor = pdev->vendor; |