[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)
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>

No differences found