Commit cd290c4a authored by David S. Miller's avatar David S. Miller

[PCI]: Move pci_remove_bus_device back to include/linux/pci.h, discussed with greg@kroah.com

parent 11a2b999
...@@ -25,7 +25,6 @@ static inline int pci_proc_detach_bus(struct pci_bus *bus) { return 0; } ...@@ -25,7 +25,6 @@ static inline int pci_proc_detach_bus(struct pci_bus *bus) { return 0; }
/* Functions for PCI Hotplug drivers to use */ /* Functions for PCI Hotplug drivers to use */
extern struct pci_bus * pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int busnr); extern struct pci_bus * pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int busnr);
extern unsigned int pci_do_scan_bus(struct pci_bus *bus); extern unsigned int pci_do_scan_bus(struct pci_bus *bus);
extern void pci_remove_bus_device(struct pci_dev *dev);
extern int pci_remove_device_safe(struct pci_dev *dev); extern int pci_remove_device_safe(struct pci_dev *dev);
extern unsigned char pci_max_busnr(void); extern unsigned char pci_max_busnr(void);
extern unsigned char pci_bus_max_busnr(struct pci_bus *bus); extern unsigned char pci_bus_max_busnr(struct pci_bus *bus);
......
...@@ -559,6 +559,8 @@ int pci_get_interrupt_pin(struct pci_dev *dev, struct pci_dev **bridge); ...@@ -559,6 +559,8 @@ int pci_get_interrupt_pin(struct pci_dev *dev, struct pci_dev **bridge);
extern struct pci_dev *pci_get_dev(struct pci_dev *dev); extern struct pci_dev *pci_get_dev(struct pci_dev *dev);
extern void pci_put_dev(struct pci_dev *dev); extern void pci_put_dev(struct pci_dev *dev);
extern void pci_remove_bus_device(struct pci_dev *dev);
/* Generic PCI functions exported to card drivers */ /* Generic PCI functions exported to card drivers */
struct pci_dev *pci_find_device (unsigned int vendor, unsigned int device, const struct pci_dev *from); struct pci_dev *pci_find_device (unsigned int vendor, unsigned int device, const struct pci_dev *from);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment