summaryrefslogtreecommitdiff
path: root/drivers/pci/ecam.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/ecam.h')
-rw-r--r--drivers/pci/ecam.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/ecam.h b/drivers/pci/ecam.h
index 912421909745..9878bebd45bb 100644
--- a/drivers/pci/ecam.h
+++ b/drivers/pci/ecam.h
@@ -59,4 +59,9 @@ void __iomem *pci_ecam_map_bus(struct pci_bus *bus, unsigned int devfn,
/* default ECAM ops */
extern struct pci_ecam_ops pci_generic_ecam_ops;
+#ifdef CONFIG_PCI_HOST_GENERIC
+/* for DT-based PCI controllers that support ECAM */
+int pci_host_common_probe(struct platform_device *pdev,
+ struct pci_ecam_ops *ops);
+#endif
#endif