projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca5307
)
drm: add idr_init to drm_stub.c
author
Dave Airlie
<airlied@linux.ie>
Tue, 17 Jul 2007 04:20:07 +0000
(14:20 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 17 Jul 2007 04:20:07 +0000
(14:20 +1000)
Brown paper bag for me this patch chunk didn't make it in the first application
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_stub.c
patch
|
blob
|
history
diff --git
a/drivers/char/drm/drm_stub.c
b/drivers/char/drm/drm_stub.c
index
9138b49
..
ee83ff9
100644
(file)
--- 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;