diff options
author | Aaron Lu <aaron.lu@intel.com> | 2015-03-25 07:32:25 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-08 21:49:20 +0200 |
commit | 3390e0850b711d163b35508464cfbe0a4477dfe2 (patch) | |
tree | e9f0889f9af89418e62516a8de30a74d17a56901 /drivers/pci/pci.h | |
parent | PCI: Make a shareable UUID for PCI firmware ACPI _DSM (diff) | |
download | linux-3390e0850b711d163b35508464cfbe0a4477dfe2.tar.xz linux-3390e0850b711d163b35508464cfbe0a4477dfe2.zip |
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>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 4091f82239cd..d72f849174a4 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -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 */ |