aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-17 19:06:29 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 18:50:04 -0500
commit429538ad3eeffec4199d8adddd1e9e4c80b2c08b (patch)
tree47da6608aad3381e2c1728b3be1ea3cf906b8684
parentfd9b37cc4e32533214f77b34ea03ee85f6e0a4d2 (diff)
PCI: mark pci_find_device() as __deprecated
On Fri, Nov 17, 2006 at 09:32:36AM -0500, Alan Cox wrote: > > Soon we should deprecate pci_find_device as well So let's mark it as __deprecated now, which also has the side effect that noone can later whine that removing it might break some shiny external modules. Oh, and if anything starts complaining "But this adds some warnings to my kernel build!", he should either first fix the 200 kB (sic) of warnings I'm getting in 2.6.19-rc5-mm2 starting at MODPOST or go to hell. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 23d2a37f3c9f..cf2c8a35a1df 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -468,7 +468,7 @@ extern void pci_sort_breadthfirst(void);
468 468
469/* Generic PCI functions exported to card drivers */ 469/* Generic PCI functions exported to card drivers */
470 470
471struct pci_dev *pci_find_device (unsigned int vendor, unsigned int device, const struct pci_dev *from); 471struct pci_dev __deprecated *pci_find_device (unsigned int vendor, unsigned int device, const struct pci_dev *from);
472struct pci_dev *pci_find_slot (unsigned int bus, unsigned int devfn); 472struct pci_dev *pci_find_slot (unsigned int bus, unsigned int devfn);
473int pci_find_capability (struct pci_dev *dev, int cap); 473int pci_find_capability (struct pci_dev *dev, int cap);
474int pci_find_next_capability (struct pci_dev *dev, u8 pos, int cap); 474int pci_find_next_capability (struct pci_dev *dev, u8 pos, int cap);