remove pci_find_{device, subsys}
Subsystems (2)
PATCH 1/18 remove pci_find_{device, subsys}
Remove deprecated pci_find_device and pci_find_subsys
AG
--
May the source be with you
Signed-off-by Amit Gud <[email protected]>
drivers/pci/pci-sysfs.c +1 -1
@@ -480,7 +480,7 @@ static int __init pci_sysfs_init(void)struct pci_dev *pdev =NULL ; sysfs_initialized =1 ; -while ((pdev =pci_find_device (PCI_ANY_ID ,PCI_ANY_ID , pdev)) !=NULL ) +while ((pdev =pci_get_device (PCI_ANY_ID ,PCI_ANY_ID , pdev)) !=NULL )pci_create_sysfs_dev_files (pdev);return 0 ;
drivers/pci/search.c +1 -70
89 lines not on this page · raw message
include/linux/pci.h +0 -4
@@ -754,7 +754,6 @@ extern void pci_remove_bus_device(struct/* Generic PCI functions exported to card drivers */ -struct pci_dev *pci_find_device (unsigned int vendor,unsigned int device,const struct pci_dev *from);struct pci_dev *pci_find_device_reverse (unsigned int vendor,unsigned int device,const struct pci_dev *from);struct pci_dev *pci_find_slot (unsigned int bus,unsigned int devfn);int pci_find_capability (struct pci_dev *dev,int cap);
@@ -917,9 +916,6 @@ extern void msi_remove_pci_irq_vectors(s _PCI_NOP_ALL(read, *) _PCI_NOP_ALL(write,) -static inline struct pci_dev *pci_find_device(unsigned int vendor, unsigned int device, const struct pci_dev *from) -{ return NULL; } - static inline struct pci_dev *pci_find_slot(unsigned int bus, unsigned int devfn) { return NULL; }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors