Commit 9d390ea7 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: fix up usage of pci_present in drivers/ide/ide.c

parent ae6a0c46
......@@ -332,7 +332,7 @@ int ide_system_bus_speed (void)
if (idebus_parameter) {
/* user supplied value */
system_bus_speed = idebus_parameter;
} else if (pci_present()) {
} else if (pci_find_device(PCI_ANY_ID, PCI_ANY_ID, NULL) != NULL) {
/* safe default value for PCI */
system_bus_speed = 33;
} else {
......
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