|
@@ -127,14 +127,15 @@ static void pci_stop_behind_bridge(struct pci_dev *dev)
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * pci_remove_behind_bridge - remove all devices behind a PCI bridge
|
|
|
+ * pci_stop_and_remove_behind_bridge - stop and remove all devices behind
|
|
|
+ * a PCI bridge
|
|
|
* @dev: PCI bridge device
|
|
|
*
|
|
|
* Remove all devices on the bus, except for the parent bridge.
|
|
|
* This also removes any child buses, and any devices they may
|
|
|
* contain in a depth-first manner.
|
|
|
*/
|
|
|
-void pci_remove_behind_bridge(struct pci_dev *dev)
|
|
|
+void pci_stop_and_remove_behind_bridge(struct pci_dev *dev)
|
|
|
{
|
|
|
pci_stop_behind_bridge(dev);
|
|
|
__pci_remove_behind_bridge(dev);
|
|
@@ -175,5 +176,5 @@ void pci_stop_bus_device(struct pci_dev *dev)
|
|
|
}
|
|
|
|
|
|
EXPORT_SYMBOL(pci_stop_and_remove_bus_device);
|
|
|
-EXPORT_SYMBOL(pci_remove_behind_bridge);
|
|
|
+EXPORT_SYMBOL(pci_stop_and_remove_behind_bridge);
|
|
|
EXPORT_SYMBOL_GPL(pci_stop_bus_device);
|