Skip to contentSkip to conversation

hades-pci.c: replace pci_find_device() with pci_get_device()

PATCH New Geert Uytterhoeven 1 participant 1 message Oct 31, 2004 m68k architecture

lore
Share & tools
lore

Geert Uytterhoeven

author maintainer
#0 lore raw

PATCH 1/1 hades-pci.c: replace pci_find_device() with pci_get_device()

As pci_find_device() is going away I have replaced this call with pci_get_device().

arch/m68k/atari/hades-pci.c +1 -1
@@ -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 -- [email protected]

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