aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2010-01-18 11:24:10 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-02-22 19:17:01 -0500
commit41a68a748bbc61f5bcea999e33ba72926dfbe6f7 (patch)
treed6b100c49d847270c235a9788b0bebb9372bcec9 /include/linux/pci.h
parent7c9342b8dd1a32386fc32bffb9eedebbfe264763 (diff)
PCI: push deprecated pci_find_device() function to last user
The ISDN4Linux HiSax driver family contains the last remaining users of the deprecated pci_find_device() function. This patch creates a private copy of that function in HiSax, and removes the now unused global function together with its controlling configuration option, CONFIG_PCI_LEGACY. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 449d51560fc2..8b79403cc072 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -646,12 +646,6 @@ extern void pci_sort_breadthfirst(void);
646 646
647/* Generic PCI functions exported to card drivers */ 647/* Generic PCI functions exported to card drivers */
648 648
649#ifdef CONFIG_PCI_LEGACY
650struct pci_dev __deprecated *pci_find_device(unsigned int vendor,
651 unsigned int device,
652 struct pci_dev *from);
653#endif /* CONFIG_PCI_LEGACY */
654
655enum pci_lost_interrupt_reason { 649enum pci_lost_interrupt_reason {
656 PCI_LOST_IRQ_NO_INFORMATION = 0, 650 PCI_LOST_IRQ_NO_INFORMATION = 0,
657 PCI_LOST_IRQ_DISABLE_MSI, 651 PCI_LOST_IRQ_DISABLE_MSI,
@@ -1010,13 +1004,6 @@ static inline int pci_proc_domain(struct pci_bus *bus)
1010_PCI_NOP_ALL(read, *) 1004_PCI_NOP_ALL(read, *)
1011_PCI_NOP_ALL(write,) 1005_PCI_NOP_ALL(write,)
1012 1006
1013static inline struct pci_dev *pci_find_device(unsigned int vendor,
1014 unsigned int device,
1015 struct pci_dev *from)
1016{
1017 return NULL;
1018}
1019
1020static inline struct pci_dev *pci_get_device(unsigned int vendor, 1007static inline struct pci_dev *pci_get_device(unsigned int vendor,
1021 unsigned int device, 1008 unsigned int device,
1022 struct pci_dev *from) 1009 struct pci_dev *from)