aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2009-03-31 11:24:22 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-11 15:04:16 -0400
commit3b073eda9557975a87a27b08a46a545fe8da66fb (patch)
tree11fe4c053294f5ed8343258e113d91ff49435e9c /include/linux/pci.h
parent12a9da0fcb147b46de33bb919b1de2bb92c9e2a9 (diff)
PCI: remove deprecated pci_find_slot() interface
The last in-tree caller of pci_find_slot has been converted, so let's get rid of this deprecated interface. Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 6dfa47d25ba4..19ee92c53ef7 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -599,8 +599,6 @@ extern void pci_sort_breadthfirst(void);
599struct pci_dev __deprecated *pci_find_device(unsigned int vendor, 599struct pci_dev __deprecated *pci_find_device(unsigned int vendor,
600 unsigned int device, 600 unsigned int device,
601 struct pci_dev *from); 601 struct pci_dev *from);
602struct pci_dev __deprecated *pci_find_slot(unsigned int bus,
603 unsigned int devfn);
604#endif /* CONFIG_PCI_LEGACY */ 602#endif /* CONFIG_PCI_LEGACY */
605 603
606enum pci_lost_interrupt_reason { 604enum pci_lost_interrupt_reason {
@@ -936,12 +934,6 @@ static inline struct pci_dev *pci_find_device(unsigned int vendor,
936 return NULL; 934 return NULL;
937} 935}
938 936
939static inline struct pci_dev *pci_find_slot(unsigned int bus,
940 unsigned int devfn)
941{
942 return NULL;
943}
944
945static inline struct pci_dev *pci_get_device(unsigned int vendor, 937static inline struct pci_dev *pci_get_device(unsigned int vendor,
946 unsigned int device, 938 unsigned int device,
947 struct pci_dev *from) 939 struct pci_dev *from)