diff options
author | Aaron Lu <aaron.lu@intel.com> | 2015-03-25 06:32:25 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-04-08 19:49:20 (GMT) |
commit | 3390e0850b711d163b35508464cfbe0a4477dfe2 (patch) | |
tree | e9f0889f9af89418e62516a8de30a74d17a56901 /drivers/pci/pci.h | |
parent | 18e94a3384368340d438cf67fcaebd72084f34f8 (diff) | |
download | linux-3390e0850b711d163b35508464cfbe0a4477dfe2.tar.xz |
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 4091f82..d72f849 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 */ |