PCI: Export pci_find_host_bridge() for use inside PCI core

The find_pci_host_bridge() function can be useful to other PCI code so
export it.  Change its name to pci_find_host_bridge().

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
Aaron Lu
2015-03-25 14:32:25 +08:00
committed by Bjorn Helgaas
parent 18e94a3384
commit 3390e0850b
2 changed files with 5 additions and 3 deletions

View File

@@ -321,4 +321,6 @@ static inline int pci_dev_specific_reset(struct pci_dev *dev, int probe)
}
#endif
struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus);
#endif /* DRIVERS_PCI_H */