[2.6.9-rc1-mm5 cyrix.c] Fix one missed pci_find_device

From: Hanna Linder
Date: Tue Sep 14 2004 - 18:45:09 EST



Just noticed this in my update to the latest mm kernel...

Hanna
------

diff -Nrup linux-2.6.9-rc1-mm5/arch/i386/kernel/cpu/cyrix.c linux-2.6.9-rc1-mm5patch/arch/i386/kernel/cpu/cyrix.c
--- linux-2.6.9-rc1-mm5/arch/i386/kernel/cpu/cyrix.c 2004-09-14 16:25:33.000000000 -0700
+++ linux-2.6.9-rc1-mm5patch/arch/i386/kernel/cpu/cyrix.c 2004-09-14 16:35:14.036275480 -0700
@@ -280,7 +280,7 @@ static void __init init_cyrix(struct cpu
pci_dev_put(dev);
pit_latch_buggy = 1;
}
- dev = pci_find_device(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5520, NULL);
+ dev = pci_get_device(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5520, NULL);
if (dev) {
pci_dev_put(dev);
pit_latch_buggy = 1;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/