diff mbox

[V4,02/29] PCI: Add a prototype for pci_find_host_bridge to pci.h

Message ID 1445576642-29624-3-git-send-email-matt@masarand.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

matt@masarand.com Oct. 23, 2015, 5:03 a.m. UTC
The function pci_find_host_bridge is currently only used within
drivers/pci/host-bridge.c however the deferred IRQ assignment
requires its use in multiple files, therefore add a prototype
use within the pci drivers.

Signed-off-by: Matthew Minter <matt@masarand.com>
---
 drivers/pci/pci.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 24ba9dc..dfdf606 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -80,6 +80,7 @@  void pci_config_pm_runtime_put(struct pci_dev *dev);
 void pci_pm_init(struct pci_dev *dev);
 void pci_allocate_cap_save_buffers(struct pci_dev *dev);
 void pci_free_cap_save_buffers(struct pci_dev *dev);
+struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus);
 
 static inline void pci_wakeup_event(struct pci_dev *dev)
 {