summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2003-02-24 00:28:58 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2003-02-24 00:28:58 -0800
commite886a0830c104b218c80752dc8465b4c28e75f91 (patch)
tree52ac82d9219dd0a884d87ac621c55977eb4c2c49 /include
parent1917dd43bf0413392d644a32b1e6c975fc228135 (diff)
[PATCH] PCI: Make hot unplugging of PCI buses work
Here's the updated patch: - Scott spotted a leak my handling of procfs wrt buses. - I've also killed pci_remove_device() entirely - it is now inlined. - After one of Alan's mails, I decided that pci_remove_behind_bridge() is a much better name than pci_remove_all_bus_devices()
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 312606c86074..402a5e0a7c52 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -645,7 +645,8 @@ void pci_release_region(struct pci_dev *, int);
int pci_register_driver(struct pci_driver *);
void pci_unregister_driver(struct pci_driver *);
void pci_insert_device(struct pci_dev *, struct pci_bus *);
-void pci_remove_device(struct pci_dev *);
+void pci_remove_bus_device(struct pci_dev *);
+void pci_remove_behind_bridge(struct pci_dev *);
struct pci_driver *pci_dev_driver(const struct pci_dev *);
const struct pci_device_id *pci_match_device(const struct pci_device_id *ids, const struct pci_dev *dev);
unsigned int pci_do_scan_bus(struct pci_bus *bus);