]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: Fix build break caused by "ide: remove ideprobe_init()"
authorOlof Johansson <olof@lixom.net>
Sat, 26 Jan 2008 19:13:05 +0000 (20:13 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Jan 2008 19:13:05 +0000 (20:13 +0100)
commitb0d5bc27ce995adaafbc114b92fa76815025c94e
treeee3cd3336be0cbb32b9b823bac0a051c0e531c04
parent151575e4644f917d3a9f83c777ac3543284954f8
ide: Fix build break caused by "ide: remove ideprobe_init()"

Fix build break of powerpc holly_defconfig:

In file included from arch/powerpc/platforms/embedded6xx/holly.c:24:
include/linux/ide.h:1206: error: 'CONFIG_IDE_MAX_HWIFS' undeclared here (not in a function)

There's no need to have a sized array in the prototype, might as well
turn it into a pointer.

It could probably be argued that large parts of the include file can be
covered under #ifdef CONFIG_IDE, but that's a larger undertaking.

Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c
include/linux/ide.h