From: Dave Airlie Date: Tue, 17 Jul 2007 04:20:07 +0000 (+1000) Subject: drm: add idr_init to drm_stub.c X-Git-Tag: v2.6.23-rc1~765^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=45ea5dcde62db8eccc8503defae3c3353256975d;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/drivers/char/drm/drm_stub.c b/drivers/char/drm/drm_stub.c index 9138b49e676..ee83ff9efed 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;