mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
12a9da0fcb
commit
3b073eda95
2 changed files with 0 additions and 38 deletions
|
@ -599,8 +599,6 @@ extern void pci_sort_breadthfirst(void);
|
|||
struct pci_dev __deprecated *pci_find_device(unsigned int vendor,
|
||||
unsigned int device,
|
||||
struct pci_dev *from);
|
||||
struct pci_dev __deprecated *pci_find_slot(unsigned int bus,
|
||||
unsigned int devfn);
|
||||
#endif /* CONFIG_PCI_LEGACY */
|
||||
|
||||
enum pci_lost_interrupt_reason {
|
||||
|
@ -936,12 +934,6 @@ static inline struct pci_dev *pci_find_device(unsigned int vendor,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static inline struct pci_dev *pci_find_slot(unsigned int bus,
|
||||
unsigned int devfn)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline struct pci_dev *pci_get_device(unsigned int vendor,
|
||||
unsigned int device,
|
||||
struct pci_dev *from)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue