[PATCH 496] hades-pci.c: replace pci_find_device() with pci_get_device()
From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 10/31/04
- Previous message: Geert Uytterhoeven: "[PATCH 505] M68k: Update defconfig for 2.6.9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 11:03:38 +0100 To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
As pci_find_device() is going away I have replaced this call with
pci_get_device().
Signed-off-by: Hanna Linder <hannal@us.ibm.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
--- linux-2.6.10-rc1/arch/m68k/atari/hades-pci.c 2004-09-29 20:04:57.000000000 -0700
+++ linux-m68k-2.6.10-rc1/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)
{
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - 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: Geert Uytterhoeven: "[PATCH 505] M68k: Update defconfig for 2.6.9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- [PATCH 325] Sun-3/3x frame buffer device is broken
... In personal conversations with technical people, I call myself a hacker. ...
send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - [PATCH 323] Amiga Retina Z3 frame buffer device is broken
... In personal conversations with technical people, I call myself a hacker. ...
send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - [PATCH 361] Macfb setup
... +void __init macfb_setup ... In personal conversations with technical
people, I call myself a hacker. ... send the line "unsubscribe linux-kernel" in
... (Linux-Kernel) - [PATCH 409] M68k call trace output
... In personal conversations with technical people, I call myself a hacker. ...
send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - [PATCH 544] Mac NCR5380 SCSI: Fix bus error
... Fix bus error by passing the correct instance pointer to ... In personal
conversations with technical people, I call myself a hacker. ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel)