aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index c53d6cf723d1..87aab07e239a 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -668,6 +668,7 @@ static inline int pci_enable_msix(struct pci_dev* dev,
668 struct msix_entry *entries, int nvec) {return -1;} 668 struct msix_entry *entries, int nvec) {return -1;}
669static inline void pci_disable_msix(struct pci_dev *dev) {} 669static inline void pci_disable_msix(struct pci_dev *dev) {}
670static inline void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} 670static inline void msi_remove_pci_irq_vectors(struct pci_dev *dev) {}
671static inline void pci_restore_msi_state(struct pci_dev *dev) {}
671#else 672#else
672extern int pci_enable_msi(struct pci_dev *dev); 673extern int pci_enable_msi(struct pci_dev *dev);
673extern void pci_disable_msi(struct pci_dev *dev); 674extern void pci_disable_msi(struct pci_dev *dev);
@@ -675,6 +676,7 @@ extern int pci_enable_msix(struct pci_dev* dev,
675 struct msix_entry *entries, int nvec); 676 struct msix_entry *entries, int nvec);
676extern void pci_disable_msix(struct pci_dev *dev); 677extern void pci_disable_msix(struct pci_dev *dev);
677extern void msi_remove_pci_irq_vectors(struct pci_dev *dev); 678extern void msi_remove_pci_irq_vectors(struct pci_dev *dev);
679extern void pci_restore_msi_state(struct pci_dev *dev);
678#endif 680#endif
679 681
680#ifdef CONFIG_HT_IRQ 682#ifdef CONFIG_HT_IRQ