summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-02-25 13:54:22 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-27 12:14:55 -0800
commit6754b9e9c33502223db066de50dda8a876f70c2c (patch)
treeee7b1a9328bd01675f907c9d247ee9b2f4bad21f /include/linux/pci.h
parent210647af897af8ef2d00828aa2a6b1b42206aae6 (diff)
downloadop-kernel-dev-6754b9e9c33502223db066de50dda8a876f70c2c.zip
op-kernel-dev-6754b9e9c33502223db066de50dda8a876f70c2c.tar.gz
PCI: Rename pci_remove_behind_bridge to pci_stop_and_remove_behind_bridge
The old pci_remove_behind_bridge actually do stop and remove. Make the name reflect that to reduce confusion. Suggested-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index a4c552d..073ae9d 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -946,7 +946,7 @@ int __must_check __pci_register_driver(struct pci_driver *, struct module *,
__pci_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
void pci_unregister_driver(struct pci_driver *dev);
-void pci_remove_behind_bridge(struct pci_dev *dev);
+void pci_stop_and_remove_behind_bridge(struct pci_dev *dev);
struct pci_driver *pci_dev_driver(const struct pci_dev *dev);
int pci_add_dynid(struct pci_driver *drv,
unsigned int vendor, unsigned int device,
OpenPOWER on IntegriCloud