]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/drm/drm_stub.c
drm: the drm really should call pci_set_master..
[linux-2.6-omap-h63xx.git] / drivers / char / drm / drm_stub.c
index def072df90281330effdd74d38d2411949970fe5..d93a217f856a7303d185396ea2a376e8cc3c3e65 100644 (file)
@@ -217,6 +217,7 @@ int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent,
        if (ret)
                goto err_g1;
 
+       pci_set_master(pdev);
        if ((ret = drm_fill_in_dev(dev, pdev, ent, driver))) {
                printk(KERN_ERR "DRM: Fill_in_dev failed.\n");
                goto err_g2;