From: Olof Johansson Date: Sat, 26 Jan 2008 19:13:05 +0000 (+0100) Subject: ide: Fix build break caused by "ide: remove ideprobe_init()" X-Git-Tag: v2.6.25-rc1~1227^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0d5bc27ce995adaafbc114b92fa76815025c94e;p=pandora-kernel.git 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 Cc: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed