drm/mgag200: Move PCI-option setup into model-specific code
[linux-2.6-microblaze.git] / drivers / gpu / drm / mgag200 / mgag200_g200ev.c
index f8afd05..e55dd01 100644 (file)
@@ -24,6 +24,10 @@ struct mga_device *mgag200_g200ev_device_create(struct pci_dev *pdev, const stru
 
        pci_set_drvdata(pdev, dev);
 
+       ret = mgag200_init_pci_options(pdev, 0x00000120, 0x0000b000);
+       if (ret)
+               return ERR_PTR(ret);
+
        mdev->flags = flags;
        mdev->type = type;