Commit 815c78cb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/ide/ide.c

parent bd23788d
...@@ -2115,10 +2115,7 @@ int __init ide_setup (char *s) ...@@ -2115,10 +2115,7 @@ int __init ide_setup (char *s)
static void __init probe_for_hwifs (void) static void __init probe_for_hwifs (void)
{ {
#ifdef CONFIG_BLK_DEV_IDEPCI #ifdef CONFIG_BLK_DEV_IDEPCI
if (pci_present())
{
ide_scan_pcibus(ide_scan_direction); ide_scan_pcibus(ide_scan_direction);
}
#endif /* CONFIG_BLK_DEV_IDEPCI */ #endif /* CONFIG_BLK_DEV_IDEPCI */
#ifdef CONFIG_ETRAX_IDE #ifdef CONFIG_ETRAX_IDE
......
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