Commit d540b4a8 authored by Hanna V. Linder's avatar Hanna V. Linder Committed by Greg Kroah-Hartman

[PATCH] PCI: Fix one missed pci_find_device

Just noticed this in my update to the latest mm kernel...
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 34962ea9
......@@ -280,7 +280,7 @@ static void __init init_cyrix(struct cpuinfo_x86 *c)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment