]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/of_pci.h
cleanup after merge of FSL 3.10.17 tree
[karo-tx-linux.git] / include / linux / of_pci.h
index d737c53932c05aa0cd2899451b3ffd4b94f719c4..dde3a4a0fa5d2e29388263a8c0ab8ea87a753c29 100644 (file)
@@ -56,15 +56,4 @@ static inline struct msi_chip *
 of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; }
 #endif
 
-#if defined(CONFIG_OF) && defined(CONFIG_PCI_MSI)
-int of_pci_msi_chip_add(struct msi_chip *chip);
-void of_pci_msi_chip_remove(struct msi_chip *chip);
-struct msi_chip *of_pci_find_msi_chip_by_node(struct device_node *of_node);
-#else
-static inline int of_pci_msi_chip_add(struct msi_chip *chip) { return -EINVAL; }
-static inline void of_pci_msi_chip_remove(struct msi_chip *chip) { }
-static inline struct msi_chip *
-of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; }
-#endif
-
 #endif