PCI: add generic pci_hp_add_bridge()
This creates a generic pci_hp_add_bridge() that can be used by several hotplug drivers. [bhelgaas: split out from pciehp patch] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
committed by
Bjorn Helgaas
parent
85019faf4a
commit
a8e4b9c101
@@ -124,6 +124,7 @@ static inline int pci_proc_detach_bus(struct pci_bus *bus) { return 0; }
|
||||
#endif
|
||||
|
||||
/* Functions for PCI Hotplug drivers to use */
|
||||
int pci_hp_add_bridge(struct pci_dev *dev);
|
||||
extern unsigned int pci_do_scan_bus(struct pci_bus *bus);
|
||||
|
||||
#ifdef HAVE_PCI_LEGACY
|
||||
|
||||
Reference in New Issue
Block a user