From: John Kacur on 12 Mar 2010 07:20 I get the following build break due to 876c52cc046e00eaa2ffc5124dc187106ef57594 drivers/ide/ide-iops.c:29:26: error: asm/bootinfo.h: No such file or directory Protect the include by #ifdef CONFIG_MIPS Signed-off-by: John Kacur <jkacur(a)redhat.com> --- drivers/ide/ide-iops.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 9dba71e..8d32dda 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c @@ -26,7 +26,10 @@ #include <asm/irq.h> #include <asm/uaccess.h> #include <asm/io.h> + +#ifdef CONFIG_MIPS #include <asm/bootinfo.h> +#endif void SELECT_MASK(ide_drive_t *drive, int mask) { -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: devtmpfs: support !CONFIG_TMPFS Next: [PATCH] Build break in v2.6.33-rt6 |