diff options
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
-rw-r--r-- | arch/powerpc/kernel/irq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 12c5971d6565..b4432332341f 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -52,6 +52,7 @@ | |||
52 | #include <linux/radix-tree.h> | 52 | #include <linux/radix-tree.h> |
53 | #include <linux/mutex.h> | 53 | #include <linux/mutex.h> |
54 | #include <linux/bootmem.h> | 54 | #include <linux/bootmem.h> |
55 | #include <linux/pci.h> | ||
55 | 56 | ||
56 | #include <asm/uaccess.h> | 57 | #include <asm/uaccess.h> |
57 | #include <asm/system.h> | 58 | #include <asm/system.h> |
@@ -875,12 +876,14 @@ int pci_enable_msi(struct pci_dev * pdev) | |||
875 | else | 876 | else |
876 | return -1; | 877 | return -1; |
877 | } | 878 | } |
879 | EXPORT_SYMBOL(pci_enable_msi); | ||
878 | 880 | ||
879 | void pci_disable_msi(struct pci_dev * pdev) | 881 | void pci_disable_msi(struct pci_dev * pdev) |
880 | { | 882 | { |
881 | if (ppc_md.disable_msi) | 883 | if (ppc_md.disable_msi) |
882 | ppc_md.disable_msi(pdev); | 884 | ppc_md.disable_msi(pdev); |
883 | } | 885 | } |
886 | EXPORT_SYMBOL(pci_disable_msi); | ||
884 | 887 | ||
885 | void pci_scan_msi_device(struct pci_dev *dev) {} | 888 | void pci_scan_msi_device(struct pci_dev *dev) {} |
886 | int pci_enable_msix(struct pci_dev* dev, struct msix_entry *entries, int nvec) {return -1;} | 889 | int pci_enable_msix(struct pci_dev* dev, struct msix_entry *entries, int nvec) {return -1;} |
@@ -888,6 +891,8 @@ void pci_disable_msix(struct pci_dev *dev) {} | |||
888 | void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} | 891 | void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} |
889 | void disable_msi_mode(struct pci_dev *dev, int pos, int type) {} | 892 | void disable_msi_mode(struct pci_dev *dev, int pos, int type) {} |
890 | void pci_no_msi(void) {} | 893 | void pci_no_msi(void) {} |
894 | EXPORT_SYMBOL(pci_enable_msix); | ||
895 | EXPORT_SYMBOL(pci_disable_msix); | ||
891 | 896 | ||
892 | #endif | 897 | #endif |
893 | 898 | ||