]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/pci/hotplug/cpci_hotplug_pci.c
PCI: Rename pci_remove_bus_device to pci_stop_and_remove_bus_device
[karo-tx-linux.git] / drivers / pci / hotplug / cpci_hotplug_pci.c
index 829c327cfb5e5780bf9cde69877cdec759c63549..ae853ccd0cd5f4e9faadb3bc1361647b2db3cab9 100644 (file)
@@ -341,7 +341,7 @@ int cpci_unconfigure_slot(struct slot* slot)
                dev = pci_get_slot(slot->bus,
                                    PCI_DEVFN(PCI_SLOT(slot->devfn), i));
                if (dev) {
-                       pci_remove_bus_device(dev);
+                       pci_stop_and_remove_bus_device(dev);
                        pci_dev_put(dev);
                }
        }