To: linus, akpm Cc: lkml Subject: [PATCH] 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(). Signed-off-by: Hanna Linder Signed-off-by: Geert Uytterhoeven --- hades-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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) {