diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/msi.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 38e4c807f80f..a2002e7dc188 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
@@ -550,6 +550,7 @@ int pci_enable_msi(struct pci_dev* dev) | |||
550 | status = msi_capability_init(dev); | 550 | status = msi_capability_init(dev); |
551 | return status; | 551 | return status; |
552 | } | 552 | } |
553 | EXPORT_SYMBOL(pci_enable_msi); | ||
553 | 554 | ||
554 | void pci_disable_msi(struct pci_dev* dev) | 555 | void pci_disable_msi(struct pci_dev* dev) |
555 | { | 556 | { |
@@ -581,6 +582,7 @@ void pci_disable_msi(struct pci_dev* dev) | |||
581 | 582 | ||
582 | dev->first_msi_irq = 0; | 583 | dev->first_msi_irq = 0; |
583 | } | 584 | } |
585 | EXPORT_SYMBOL(pci_disable_msi); | ||
584 | 586 | ||
585 | static int msi_free_irq(struct pci_dev* dev, int irq) | 587 | static int msi_free_irq(struct pci_dev* dev, int irq) |
586 | { | 588 | { |
@@ -673,6 +675,7 @@ int pci_enable_msix(struct pci_dev* dev, struct msix_entry *entries, int nvec) | |||
673 | status = msix_capability_init(dev, entries, nvec); | 675 | status = msix_capability_init(dev, entries, nvec); |
674 | return status; | 676 | return status; |
675 | } | 677 | } |
678 | EXPORT_SYMBOL(pci_enable_msix); | ||
676 | 679 | ||
677 | static void msix_free_all_irqs(struct pci_dev *dev) | 680 | static void msix_free_all_irqs(struct pci_dev *dev) |
678 | { | 681 | { |
@@ -706,6 +709,7 @@ void pci_disable_msix(struct pci_dev* dev) | |||
706 | 709 | ||
707 | msix_free_all_irqs(dev); | 710 | msix_free_all_irqs(dev); |
708 | } | 711 | } |
712 | EXPORT_SYMBOL(pci_disable_msix); | ||
709 | 713 | ||
710 | /** | 714 | /** |
711 | * msi_remove_pci_irq_vectors - reclaim MSI(X) irqs to unused state | 715 | * msi_remove_pci_irq_vectors - reclaim MSI(X) irqs to unused state |
@@ -732,8 +736,3 @@ void pci_no_msi(void) | |||
732 | { | 736 | { |
733 | pci_msi_enable = 0; | 737 | pci_msi_enable = 0; |
734 | } | 738 | } |
735 | |||
736 | EXPORT_SYMBOL(pci_enable_msi); | ||
737 | EXPORT_SYMBOL(pci_disable_msi); | ||
738 | EXPORT_SYMBOL(pci_enable_msix); | ||
739 | EXPORT_SYMBOL(pci_disable_msix); | ||