mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFT 2.6] isa.c replace pci_find_device with pci_get_device
@ 2004-10-08 22:36 Hanna Linder
  2004-10-09 17:16 ` [KJ] " Scott Feldman
  0 siblings, 1 reply; 2+ messages in thread
From: Hanna Linder @ 2004-10-08 22:36 UTC (permalink / raw)
  To: lkml, kernel-janitors; +Cc: greg, hannal, davem, ecd, jj, anton

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@us.ibm.com>

---
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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-09 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-08 22:36 [RFT 2.6] isa.c replace pci_find_device with pci_get_device Hanna Linder
2004-10-09 17:16 ` [KJ] " Scott Feldman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®