[PATCH] ide: Build break in ide-iops.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux