From akpm@linux-foundation.org Mon May 21 17:33:52 2007 From: Alan Cox Date: Mon, 21 May 2007 14:16:17 -0700 Subject: PCI: pci_find_slot: mark deprecated Subject: + pci_find_slot-mark-deprecated.patch added to -mm tree To: mm-commits@vger.kernel.org Cc: alan@lxorguk.ukuu.org.uk, alan@redhat.com, greg@kroah.com Message-ID: <200705212116.l4LLGHOU020230@shell0.pdx.osdl.net> From: Alan Cox 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 Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- include/linux/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -476,7 +476,7 @@ extern void pci_sort_breadthfirst(void); /* Generic PCI functions exported to card drivers */ struct pci_dev __deprecated *pci_find_device (unsigned int vendor, unsigned int device, const struct pci_dev *from); -struct pci_dev *pci_find_slot (unsigned int bus, unsigned int devfn); +struct pci_dev __deprecated *pci_find_slot (unsigned int bus, unsigned int devfn); int pci_find_capability (struct pci_dev *dev, int cap); int pci_find_next_capability (struct pci_dev *dev, u8 pos, int cap); int pci_find_ext_capability (struct pci_dev *dev, int cap);