Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45ea5dcd authored by Dave Airlie's avatar Dave Airlie
Browse files

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: default avatarDave Airlie <airlied@linux.ie>
parent cca5307d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;