]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-ixp2000/ixdp2x00.c
PCI: Rename pci_remove_bus_device to pci_stop_and_remove_bus_device
[karo-tx-linux.git] / arch / arm / mach-ixp2000 / ixdp2x00.c
index 634b6c852f68f58d0d8cf368e45cf0946b0987a7..dd9838299068266e3315c5fbd21c302834fabf0d 100644 (file)
@@ -239,12 +239,12 @@ void ixdp2x00_slave_pci_postinit(void)
         * Remove PMC device is there is one
         */
        if((dev = pci_get_bus_and_slot(1, IXDP2X00_PMC_DEVFN))) {
-               pci_remove_bus_device(dev);
+               pci_stop_and_remove_bus_device(dev);
                pci_dev_put(dev);
        }
 
        dev = pci_get_bus_and_slot(0, IXDP2X00_21555_DEVFN);
-       pci_remove_bus_device(dev);
+       pci_stop_and_remove_bus_device(dev);
        pci_dev_put(dev);
 }