[2/3] PCI: Export pci_find_host_bridge()

Message ID 1540585146-31876-2-git-send-email-jonathan.derrick@intel.com
State New
Delegated to: Bjorn Helgaas
Headers show
Series
  • [1/3] PCI/AER: Option to leave System Error Interrupts as-is
Related show

Commit Message

Derrick, Jonathan Oct. 26, 2018, 8:19 p.m.
This symbol is generally useful to navigate up to the host bridge and
may be used in modules.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
---
 drivers/pci/host-bridge.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c
index e01d53f..afa50b4 100644
--- a/drivers/pci/host-bridge.c
+++ b/drivers/pci/host-bridge.c
@@ -23,6 +23,7 @@  struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus)
 
 	return to_pci_host_bridge(root_bus->bridge);
 }
+EXPORT_SYMBOL_GPL(pci_find_host_bridge);
 
 struct device *pci_get_host_bridge_device(struct pci_dev *dev)
 {