All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] [PATCH 2.6] pci-hplj.c: replace pci_find_device
@ 2004-10-04 21:26 ` Hanna Linder
  0 siblings, 0 replies; 10+ messages in thread
From: Hanna Linder @ 2004-10-04 21:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, greg, hannal, ralf

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]



As pci_find_device is going away I have replaced this call with pci_get_device.
If  someone has access to an RM200 or RM300 and could test this 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-mm2cln/arch/mips/pci/pci-hplj.c linux-2.6.9-rc3-mm2patch/arch/mips/pci/pci-hplj.c
--- linux-2.6.9-rc3-mm2cln/arch/mips/pci/pci-hplj.c	2004-09-29 20:05:21.000000000 -0700
+++ linux-2.6.9-rc3-mm2patch/arch/mips/pci/pci-hplj.c	2004-10-04 14:20:25.307153544 -0700
@@ -118,7 +118,7 @@ void __init pcibios_fixup_irqs(void)
 	struct pci_dev *dev = NULL;
 	int slot_num;
 
-	while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
+	while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
 		slot_num = PCI_SLOT(dev->devfn);
 		switch (slot_num) {
 		case 2:



[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2004-10-05 13:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-04 21:26 [Kernel-janitors] [PATCH 2.6] pci-hplj.c: replace pci_find_device Hanna Linder
2004-10-04 21:26 ` [PATCH 2.6] pci-hplj.c: replace pci_find_device with pci_get_device Hanna Linder
2004-10-04 21:41 ` [Kernel-janitors] Re: [PATCH 2.6] pci-hplj.c: replace Ralf Baechle
2004-10-04 21:41   ` [PATCH 2.6] pci-hplj.c: replace pci_find_device with pci_get_device Ralf Baechle
2004-10-04 21:48   ` [Kernel-janitors] Re: [PATCH 2.6] pci-hplj.c: replace Hanna Linder
2004-10-04 21:48     ` [PATCH 2.6] pci-hplj.c: replace pci_find_device with pci_get_device Hanna Linder
2004-10-05 13:03   ` [Kernel-janitors] Re: [PATCH 2.6] pci-hplj.c: replace David Woodhouse
2004-10-05 13:03     ` [PATCH 2.6] pci-hplj.c: replace pci_find_device with pci_get_device David Woodhouse
2004-10-05 13:36     ` [Kernel-janitors] Re: [PATCH 2.6] pci-hplj.c: replace Ralf Baechle
2004-10-05 13:36       ` [PATCH 2.6] pci-hplj.c: replace pci_find_device with pci_get_device Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.