aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-02-25 16:54:20 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-27 15:12:18 -0500
commit210647af897af8ef2d00828aa2a6b1b42206aae6 (patch)
treebdb048c8fc7db6fb7b84134c1a6127c52da60ed3 /include/linux/pci.h
parent3cf8b64380af6fd515740b010606ada4637818c5 (diff)
PCI: Rename pci_remove_bus_device to pci_stop_and_remove_bus_device
The old pci_remove_bus_device actually did stop and remove. Make the name reflect that to reduce confusion. This patch is done by sed scripts and changes back some incorrect __pci_remove_bus_device changes. 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 74a20bdc93f6..a4c552d9908e 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -686,7 +686,7 @@ u8 pci_common_swizzle(struct pci_dev *dev, u8 *pinp);
686extern struct pci_dev *pci_dev_get(struct pci_dev *dev); 686extern struct pci_dev *pci_dev_get(struct pci_dev *dev);
687extern void pci_dev_put(struct pci_dev *dev); 687extern void pci_dev_put(struct pci_dev *dev);
688extern void pci_remove_bus(struct pci_bus *b); 688extern void pci_remove_bus(struct pci_bus *b);
689extern void pci_remove_bus_device(struct pci_dev *dev); 689extern void pci_stop_and_remove_bus_device(struct pci_dev *dev);
690extern void pci_stop_bus_device(struct pci_dev *dev); 690extern void pci_stop_bus_device(struct pci_dev *dev);
691void pci_setup_cardbus(struct pci_bus *bus); 691void pci_setup_cardbus(struct pci_bus *bus);
692extern void pci_sort_breadthfirst(void); 692extern void pci_sort_breadthfirst(void);