forked from Minki/linux
[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>
This commit is contained in:
parent
919fede6ed
commit
45934c4723
@ -52,6 +52,7 @@
|
||||
#include <linux/radix-tree.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/bootmem.h>
|
||||
#include <linux/pci.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/system.h>
|
||||
@ -827,12 +828,14 @@ int pci_enable_msi(struct pci_dev * pdev)
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
EXPORT_SYMBOL(pci_enable_msi);
|
||||
|
||||
void pci_disable_msi(struct pci_dev * pdev)
|
||||
{
|
||||
if (ppc_md.disable_msi)
|
||||
ppc_md.disable_msi(pdev);
|
||||
}
|
||||
EXPORT_SYMBOL(pci_disable_msi);
|
||||
|
||||
void pci_scan_msi_device(struct pci_dev *dev) {}
|
||||
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) {}
|
||||
void msi_remove_pci_irq_vectors(struct pci_dev *dev) {}
|
||||
void disable_msi_mode(struct pci_dev *dev, int pos, int type) {}
|
||||
void pci_no_msi(void) {}
|
||||
EXPORT_SYMBOL(pci_enable_msix);
|
||||
EXPORT_SYMBOL(pci_disable_msix);
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user