PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus)
[deliverable/linux.git] / drivers / char / agp / parisc-agp.c
index 94821ab01c6d6ae1803201c27217c69a30357329..bf5d2477cb77c296dac3a63b3aea2e8a2ec5ce0a 100644 (file)
@@ -333,7 +333,7 @@ parisc_agp_setup(void __iomem *ioc_hpa, void __iomem *lba_hpa)
        struct agp_bridge_data *bridge;
        int error = 0;
 
-       fake_bridge_dev = alloc_pci_dev();
+       fake_bridge_dev = pci_alloc_dev(NULL);
        if (!fake_bridge_dev) {
                error = -ENOMEM;
                goto fail;
This page took 0.02517 seconds and 5 git commands to generate.