Re: [PATCH] PCI fixes for 2.6.9

From: Greg KH
Date: Wed Oct 20 2004 - 00:56:38 EST


ChangeSet 1.1997.37.36, 2004/10/06 12:56:27-07:00, hannal@xxxxxxxxxx

[PATCH] PCI: Fix one missed pci_find_device

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


Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


arch/i386/kernel/cpu/cyrix.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/arch/i386/kernel/cpu/cyrix.c b/arch/i386/kernel/cpu/cyrix.c
--- a/arch/i386/kernel/cpu/cyrix.c 2004-10-19 15:24:27 -07:00
+++ b/arch/i386/kernel/cpu/cyrix.c 2004-10-19 15:24:27 -07:00
@@ -280,7 +280,7 @@
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/