]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita174ffb3f807e16fa49f8b5e9eef24ed89bbd43f
tree419a228bd7af0017754ac5f3cd94a21180903971
parent740f1eed41926488c4f132e2bcb8f3d640f22939
[MIPS] No ide_default_io_base() if PCI IDE was not found

Revert 4e1f74d4b7c360749fbd0669157215f239f94fcd 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