Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

+ pci_find_slot-mark-deprecated.patch added to -mm tree

We've now fixed up most users of pci_find_slot, and the remainder are either
hard and need someone with the hardware and info to work on it, or patches
exist but are not yet merged.

Time therefore for some gentle encouragement

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Alan Cox and committed by
Greg Kroah-Hartman
adf809d0 a2cd52ca

+1 -1
+1 -1
include/linux/pci.h
··· 476 476 /* Generic PCI functions exported to card drivers */ 477 477 478 478 struct pci_dev __deprecated *pci_find_device (unsigned int vendor, unsigned int device, const struct pci_dev *from); 479 - struct pci_dev *pci_find_slot (unsigned int bus, unsigned int devfn); 479 + struct pci_dev __deprecated *pci_find_slot (unsigned int bus, unsigned int devfn); 480 480 int pci_find_capability (struct pci_dev *dev, int cap); 481 481 int pci_find_next_capability (struct pci_dev *dev, u8 pos, int cap); 482 482 int pci_find_ext_capability (struct pci_dev *dev, int cap);