]> err.no Git - linux-2.6/commit
ide-generic: minor fix for mips
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 24 Jul 2008 20:53:28 +0000 (22:53 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 24 Jul 2008 20:53:28 +0000 (22:53 +0200)
commitdbdec839c4c2bfc8f2da8e50c06b9947e5ad0394
tree275b7dd6c07c5a6ecd0ee1b9c91b6a3ad407e2cc
parentac32f3238c1d95a6ebea2c312160dbdbd61bf91c
ide-generic: minor fix for mips

Move ide_probe_legacy() call to ide_generic_init() so it fails
early if necessary and returns the proper error value (nowadays
ide_default_io_base() is used only by ide-generic).

Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-generic.c
include/asm-mips/mach-generic/ide.h