aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm')
-rw-r--r--drivers/char/drm/drm_stub.c2
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,
72 mutex_init(&dev->struct_mutex); 72 mutex_init(&dev->struct_mutex);
73 mutex_init(&dev->ctxlist_mutex); 73 mutex_init(&dev->ctxlist_mutex);
74 74
75 idr_init(&dev->drw_idr);
76
75 dev->pdev = pdev; 77 dev->pdev = pdev;
76 dev->pci_device = pdev->device; 78 dev->pci_device = pdev->device;
77 dev->pci_vendor = pdev->vendor; 79 dev->pci_vendor = pdev->vendor;