Commit 409ef2d5 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: replace usage of pci_present() in drivers/sbus/sbus.c

parent 9d390ea7
...@@ -334,7 +334,7 @@ static int __init sbus_init(void) ...@@ -334,7 +334,7 @@ static int __init sbus_init(void)
nd = prom_searchsiblings(topnd, "sbus"); nd = prom_searchsiblings(topnd, "sbus");
if(nd == 0) { if(nd == 0) {
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
if (!pci_present()) { if (pci_find_device(PCI_ANY_ID, PCI_ANY_ID, NULL) == NULL) {
prom_printf("Neither SBUS nor PCI found.\n"); prom_printf("Neither SBUS nor PCI found.\n");
prom_halt(); prom_halt();
} else { } 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