[MIPS] No ide_default_io_base() if PCI IDE was not found
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 4 Sep 2007 14:02:02 +0000 (23:02 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 14 Sep 2007 18:08:43 +0000 (19:08 +0100)
commit6440fcfc62767028a2bbdf742549d24f6a023004
tree419a228bd7af0017754ac5f3cd94a21180903971
parentb1043cc7d9d7a7dec8d807570c067e0c90b94b57
[MIPS] No ide_default_io_base() if PCI IDE was not found

Revert b5438582090406e2ccb4169d9b2df7c9939ae42b and add
no_pci_devices() check to avoid crash due to early calling of
pci_get_class().

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/mach-generic/ide.h