remove pci_find_{device, subsys}
Subsystems (2)
PATCH 10/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/parport/parport_pc.c +1 -1
@@ -2966,7 +2966,7 @@ static int __init parport_pc_init_superistruct pci_dev *pdev =NULL ;int ret =0 ; -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 ) { id =pci_match_device (parport_pc_pci_tbl, pdev);if (id ==NULL || id->driver_data >= last_sio)continue ;
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 15 lines · Amit Gud
Remove deprecated
pci_find_deviceandpci_find_subsysAG
--
May the source be with youSigned-off-by Amit Gud <[email protected]>diff -uprN
orig/drivers/parport/parport_pc.clinux-2.6.11-rc3/drivers/parport/parport_pc.c
drivers/parport/parport_pc.c static int __init parport_pc_init_superi · line 2972
Quoted 8 lines
drivers/parport/parport_pc.c +1
-1@@ -2966,7 +2966,7 @@ static int __init parport_pc_init_superistruct pci_dev *pdev =NULL ;int ret =0 ; -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 ) { id =pci_match_device (parport_pc_pci_tbl, pdev);if (id ==NULL || id->driver_data >= last_sio)continue ;
No, incorrect replacement, please do not apply.
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors