lkml.org 
[lkml]   [2010]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ide: Build break in ide-iops.c
Date
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@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


\
 
 \ /
  Last update: 2010-03-12 13:13    [from the cache]
©2003-2011 Jasper Spaans