aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/of_pci.h')
-rw-r--r--include/linux/of_pci.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/of_pci.h b/include/linux/of_pci.h
index 0e0974eceb80..518c8d20647a 100644
--- a/include/linux/of_pci.h
+++ b/include/linux/of_pci.h
@@ -85,15 +85,4 @@ static inline int of_pci_get_host_bridge_resources(struct device_node *dev,
85} 85}
86#endif 86#endif
87 87
88#if defined(CONFIG_OF) && defined(CONFIG_PCI_MSI)
89int of_pci_msi_chip_add(struct msi_controller *chip);
90void of_pci_msi_chip_remove(struct msi_controller *chip);
91struct msi_controller *of_pci_find_msi_chip_by_node(struct device_node *of_node);
92#else
93static inline int of_pci_msi_chip_add(struct msi_controller *chip) { return -EINVAL; }
94static inline void of_pci_msi_chip_remove(struct msi_controller *chip) { }
95static inline struct msi_controller *
96of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; }
97#endif
98
99#endif 88#endif