[RFT 2.6] isa.c replace pci_find_device with pci_get_device

From: Hanna Linder
Date: Fri Oct 08 2004 - 17:38:27 EST


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 <hannal@xxxxxxxxxx>

---
diff -Nrup linux-2.6.9-rc3-mm3cln/arch/sparc64/kernel/isa.c linux-2.6.9-rc3-mm3patch/arch/sparc64/kernel/isa.c
--- linux-2.6.9-rc3-mm3cln/arch/sparc64/kernel/isa.c 2004-09-29 20:04:25.000000000 -0700
+++ linux-2.6.9-rc3-mm3patch/arch/sparc64/kernel/isa.c 2004-10-08 15:22:19.000000000 -0700
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/