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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
---
 drivers/pci/pci.h | 1 +
 1 file changed, 1 insertion(+)

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)
 {
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux