isa.c replace pci_find_device with pci_get_device
As pci_find_device is going away I've replaced it with pci_get_device. If someone with a Sparc64 system could test it I would appreciate it. Thanks.
Hanna Linder
IBM Linux Technology Center
Signed-off-by Hanna Linder <[email protected]>
---
arch/sparc64/kernel/isa.c +1 -1
@@ -262,7 +262,7 @@ void __init isa_init(void) device =PCI_DEVICE_ID_AL_M1533 ; pdev =NULL ; -while ((pdev =pci_find_device (vendor, device, pdev)) !=NULL ) { +while ((pdev =pci_get_device (vendor, device, pdev)) !=NULL ) {struct pcidev_cookie *pdev_cookie;struct pci_pbm_info *pbm;struct sparc_isa_bridge *isa_br;
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
arch/sparc64/kernel/isa.c void __init isa_init(void) · line 268
Quoted 9 lines · Hanna Linder
arch/sparc64/kernel/isa.c +1
-1@@ -262,7 +262,7 @@ void __init isa_init(void) device =PCI_DEVICE_ID_AL_M1533 ; pdev =NULL ; -while ((pdev =pci_find_device (vendor, device, pdev)) !=NULL ) { +while ((pdev =pci_get_device (vendor, device, pdev)) !=NULL ) {struct pcidev_cookie *pdev_cookie;struct pci_pbm_info *pbm;struct sparc_isa_bridge *isa_br;
for_each_pci_dev?
-scott
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors