diff options
author | Jake Moilanen <moilanen@austin.ibm.com> | 2006-07-27 14:17:25 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-08 03:06:59 -0400 |
commit | 45934c47237108903ec019f08e124e592ba0b6c2 (patch) | |
tree | 355209f7393ae88fbcea191b3123e00b913aac08 /arch/powerpc/kernel | |
parent | 919fede6edab94cccb3ca8c1c0b32fa62c9369a5 (diff) |
[POWERPC] Export msi symbols
Forgot to export symbols for MSI.
Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
-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 01bdae35cb55..b2ded6460a86 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> |
@@ -827,12 +828,14 @@ int pci_enable_msi(struct pci_dev * pdev) | |||
827 | else | 828 | else |
828 | return -1; | 829 | return -1; |
829 | } | 830 | } |
831 | EXPORT_SYMBOL(pci_enable_msi); | ||
830 | 832 | ||
831 | void pci_disable_msi(struct pci_dev * pdev) | 833 | void pci_disable_msi(struct pci_dev * pdev) |
832 | { | 834 | { |
833 | if (ppc_md.disable_msi) | 835 | if (ppc_md.disable_msi) |
834 | ppc_md.disable_msi(pdev); | 836 | ppc_md.disable_msi(pdev); |
835 | } | 837 | } |
838 | EXPORT_SYMBOL(pci_disable_msi); | ||
836 | 839 | ||
837 | void pci_scan_msi_device(struct pci_dev *dev) {} | 840 | void pci_scan_msi_device(struct pci_dev *dev) {} |
838 | int pci_enable_msix(struct pci_dev* dev, struct msix_entry *entries, int nvec) {return -1;} | 841 | int pci_enable_msix(struct pci_dev* dev, struct msix_entry *entries, int nvec) {return -1;} |
@@ -840,6 +843,8 @@ void pci_disable_msix(struct pci_dev *dev) {} | |||
840 | void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} | 843 | void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} |
841 | void disable_msi_mode(struct pci_dev *dev, int pos, int type) {} | 844 | void disable_msi_mode(struct pci_dev *dev, int pos, int type) {} |
842 | void pci_no_msi(void) {} | 845 | void pci_no_msi(void) {} |
846 | EXPORT_SYMBOL(pci_enable_msix); | ||
847 | EXPORT_SYMBOL(pci_disable_msix); | ||
843 | 848 | ||
844 | #endif | 849 | #endif |
845 | 850 | ||