aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-01-25 03:34:08 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 18:50:07 -0500
commit0fcfdabbdbedb3bdc63f29209aeeac805df78a92 (patch)
tree49b924287acdf067d470c1d07c0fa02c099e0c0e /include/linux/pci.h
parent88187dfa4d8bb565df762f272511d2c91e427e0d (diff)
MSI: Remove pci_scan_msi_device()
pci_scan_msi_device() doesn't do anything anymore, so remove it. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
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
628static inline void pci_scan_msi_device(struct pci_dev *dev) {}
629static inline int pci_enable_msi(struct pci_dev *dev) {return -1;} 628static inline int pci_enable_msi(struct pci_dev *dev) {return -1;}
630static inline void pci_disable_msi(struct pci_dev *dev) {} 629static inline void pci_disable_msi(struct pci_dev *dev) {}
631static inline int pci_enable_msix(struct pci_dev* dev, 630static inline int pci_enable_msix(struct pci_dev* dev,
@@ -633,7 +632,6 @@ static inline int pci_enable_msix(struct pci_dev* dev,
633static inline void pci_disable_msix(struct pci_dev *dev) {} 632static inline void pci_disable_msix(struct pci_dev *dev) {}
634static inline void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} 633static inline void msi_remove_pci_irq_vectors(struct pci_dev *dev) {}
635#else 634#else
636extern void pci_scan_msi_device(struct pci_dev *dev);
637extern int pci_enable_msi(struct pci_dev *dev); 635extern int pci_enable_msi(struct pci_dev *dev);
638extern void pci_disable_msi(struct pci_dev *dev); 636extern void pci_disable_msi(struct pci_dev *dev);
639extern int pci_enable_msix(struct pci_dev* dev, 637extern int pci_enable_msix(struct pci_dev* dev,