diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index d69dfd7d0e0b..29765e2b1e0a 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -625,7 +625,6 @@ struct msix_entry { | |||
625 | 625 | ||
626 | 626 | ||
627 | #ifndef CONFIG_PCI_MSI | 627 | #ifndef CONFIG_PCI_MSI |
628 | static inline void pci_scan_msi_device(struct pci_dev *dev) {} | ||
629 | static inline int pci_enable_msi(struct pci_dev *dev) {return -1;} | 628 | static inline int pci_enable_msi(struct pci_dev *dev) {return -1;} |
630 | static inline void pci_disable_msi(struct pci_dev *dev) {} | 629 | static inline void pci_disable_msi(struct pci_dev *dev) {} |
631 | static inline int pci_enable_msix(struct pci_dev* dev, | 630 | static inline int pci_enable_msix(struct pci_dev* dev, |
@@ -633,7 +632,6 @@ static inline int pci_enable_msix(struct pci_dev* dev, | |||
633 | static inline void pci_disable_msix(struct pci_dev *dev) {} | 632 | static inline void pci_disable_msix(struct pci_dev *dev) {} |
634 | static inline void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} | 633 | static inline void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} |
635 | #else | 634 | #else |
636 | extern void pci_scan_msi_device(struct pci_dev *dev); | ||
637 | extern int pci_enable_msi(struct pci_dev *dev); | 635 | extern int pci_enable_msi(struct pci_dev *dev); |
638 | extern void pci_disable_msi(struct pci_dev *dev); | 636 | extern void pci_disable_msi(struct pci_dev *dev); |
639 | extern int pci_enable_msix(struct pci_dev* dev, | 637 | extern int pci_enable_msix(struct pci_dev* dev, |