diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 7bd624bfdcfd..b5d6d0e0f1cb 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -799,6 +799,10 @@ static inline void pci_msi_shutdown(struct pci_dev *dev) | |||
799 | static inline void pci_disable_msi(struct pci_dev *dev) | 799 | static inline void pci_disable_msi(struct pci_dev *dev) |
800 | { } | 800 | { } |
801 | 801 | ||
802 | static inline int pci_msix_table_size(struct pci_dev *dev) | ||
803 | { | ||
804 | return 0; | ||
805 | } | ||
802 | static inline int pci_enable_msix(struct pci_dev *dev, | 806 | static inline int pci_enable_msix(struct pci_dev *dev, |
803 | struct msix_entry *entries, int nvec) | 807 | struct msix_entry *entries, int nvec) |
804 | { | 808 | { |
@@ -823,6 +827,7 @@ static inline int pci_msi_enabled(void) | |||
823 | extern int pci_enable_msi(struct pci_dev *dev); | 827 | extern int pci_enable_msi(struct pci_dev *dev); |
824 | extern void pci_msi_shutdown(struct pci_dev *dev); | 828 | extern void pci_msi_shutdown(struct pci_dev *dev); |
825 | extern void pci_disable_msi(struct pci_dev *dev); | 829 | extern void pci_disable_msi(struct pci_dev *dev); |
830 | extern int pci_msix_table_size(struct pci_dev *dev); | ||
826 | extern int pci_enable_msix(struct pci_dev *dev, | 831 | extern int pci_enable_msix(struct pci_dev *dev, |
827 | struct msix_entry *entries, int nvec); | 832 | struct msix_entry *entries, int nvec); |
828 | extern void pci_msix_shutdown(struct pci_dev *dev); | 833 | extern void pci_msix_shutdown(struct pci_dev *dev); |