diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 7a0770d4c4e2..e09c57e9c373 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -701,6 +701,8 @@ static inline int pci_enable_msi(struct pci_dev *dev) | |||
701 | return -1; | 701 | return -1; |
702 | } | 702 | } |
703 | 703 | ||
704 | static inline void pci_msi_shutdown(struct pci_dev *dev) | ||
705 | { } | ||
704 | static inline void pci_disable_msi(struct pci_dev *dev) | 706 | static inline void pci_disable_msi(struct pci_dev *dev) |
705 | { } | 707 | { } |
706 | 708 | ||
@@ -710,6 +712,8 @@ static inline int pci_enable_msix(struct pci_dev *dev, | |||
710 | return -1; | 712 | return -1; |
711 | } | 713 | } |
712 | 714 | ||
715 | static inline void pci_msix_shutdown(struct pci_dev *dev) | ||
716 | { } | ||
713 | static inline void pci_disable_msix(struct pci_dev *dev) | 717 | static inline void pci_disable_msix(struct pci_dev *dev) |
714 | { } | 718 | { } |
715 | 719 | ||
@@ -720,9 +724,11 @@ static inline void pci_restore_msi_state(struct pci_dev *dev) | |||
720 | { } | 724 | { } |
721 | #else | 725 | #else |
722 | extern int pci_enable_msi(struct pci_dev *dev); | 726 | extern int pci_enable_msi(struct pci_dev *dev); |
727 | extern void pci_msi_shutdown(struct pci_dev *dev); | ||
723 | extern void pci_disable_msi(struct pci_dev *dev); | 728 | extern void pci_disable_msi(struct pci_dev *dev); |
724 | extern int pci_enable_msix(struct pci_dev *dev, | 729 | extern int pci_enable_msix(struct pci_dev *dev, |
725 | struct msix_entry *entries, int nvec); | 730 | struct msix_entry *entries, int nvec); |
731 | extern void pci_msix_shutdown(struct pci_dev *dev); | ||
726 | extern void pci_disable_msix(struct pci_dev *dev); | 732 | extern void pci_disable_msix(struct pci_dev *dev); |
727 | extern void msi_remove_pci_irq_vectors(struct pci_dev *dev); | 733 | extern void msi_remove_pci_irq_vectors(struct pci_dev *dev); |
728 | extern void pci_restore_msi_state(struct pci_dev *dev); | 734 | extern void pci_restore_msi_state(struct pci_dev *dev); |