aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2015-03-25 14:32:25 +0800
committerBjorn Helgaas <bhelgaas@google.com>2015-04-08 14:49:20 -0500
commit3390e0850b711d163b35508464cfbe0a4477dfe2 (patch)
treee9f0889f9af89418e62516a8de30a74d17a56901 /drivers/pci/pci.h
parentPCI: Make a shareable UUID for PCI firmware ACPI _DSM (diff)
downloadlinux-dev-3390e0850b711d163b35508464cfbe0a4477dfe2.tar.xz
linux-dev-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.h2
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 */