[PATCH 2.6] hades-pci.c: replace pci_find_device with pci_get_device
From: Hanna Linder (hannal_at_us.ibm.com)
Date: 10/04/04
- Previous message: Borislav Petkov: "Re: Fw: Re: 2.6.9-rc2-mm4"
- Next in thread: Geert Uytterhoeven: "Re: [PATCH 2.6] hades-pci.c: replace pci_find_device with pci_get_device"
- Reply: Geert Uytterhoeven: "Re: [PATCH 2.6] hades-pci.c: replace pci_find_device with pci_get_device"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 04 Oct 2004 14:19:37 -0700 To: linux-kernel@vger.kernel.org
As pci_find_device is going away I have replaced this call with pci_get_device.
If anyone has access to a Hades Atari clone to test this one I would appreciate it..
Hanna Linder
IBM Linux Technology Center
Signed-off-by: Hanna Linder <hannal@us.ibm.com>
---
diff -Nrup linux-2.6.9-rc3-mm2cln/arch/m68k/atari/hades-pci.c linux-2.6.9-rc3-mm2patch/arch/m68k/atari/hades-pci.c
--- linux-2.6.9-rc3-mm2cln/arch/m68k/atari/hades-pci.c 2004-09-29 20:04:57.000000000 -0700
+++ linux-2.6.9-rc3-mm2patch/arch/m68k/atari/hades-pci.c 2004-10-04 13:30:44.120362824 -0700
@@ -311,7 +311,7 @@ static void __init hades_fixup(int pci_m
* Go through all devices, fixing up irqs as we see fit:
*/
- 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)
{
if (dev->class >> 16 != PCI_BASE_CLASS_BRIDGE)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Borislav Petkov: "Re: Fw: Re: 2.6.9-rc2-mm4"
- Next in thread: Geert Uytterhoeven: "Re: [PATCH 2.6] hades-pci.c: replace pci_find_device with pci_get_device"
- Reply: Geert Uytterhoeven: "Re: [PATCH 2.6] hades-pci.c: replace pci_find_device with pci_get_device"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|