diff options
Diffstat (limited to 'include/linux/of_pci.h')
-rw-r--r-- | include/linux/of_pci.h | 11 |
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) | ||
89 | int of_pci_msi_chip_add(struct msi_controller *chip); | ||
90 | void of_pci_msi_chip_remove(struct msi_controller *chip); | ||
91 | struct msi_controller *of_pci_find_msi_chip_by_node(struct device_node *of_node); | ||
92 | #else | ||
93 | static inline int of_pci_msi_chip_add(struct msi_controller *chip) { return -EINVAL; } | ||
94 | static inline void of_pci_msi_chip_remove(struct msi_controller *chip) { } | ||
95 | static inline struct msi_controller * | ||
96 | of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; } | ||
97 | #endif | ||
98 | |||
99 | #endif | 88 | #endif |