]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/pci/hotplug/pciehp_pci.c
PCI: Rename pci_remove_bus_device to pci_stop_and_remove_bus_device
[karo-tx-linux.git] / drivers / pci / hotplug / pciehp_pci.c
index a4031dfe938ecd037227896fac3fabe5ca24e56b..47d9dc06b109a632557232b92e7932918ab5a9db 100644 (file)
@@ -141,7 +141,7 @@ int pciehp_unconfigure_device(struct slot *p_slot)
                                break;
                        }
                }
-               pci_remove_bus_device(temp);
+               pci_stop_and_remove_bus_device(temp);
                /*
                 * Ensure that no new Requests will be generated from
                 * the device.