[PATCH 2/2] mips: io: include generic io.h
Sascha Hauer
s.hauer at pengutronix.de
Tue Apr 8 23:34:04 PDT 2014
To get definitions for inb/outb and friends.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Antony Pavlov <antonynpavlov at gmail.com>
---
arch/mips/include/asm/io.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index 1cc8a51..4832be6 100644
--- a/arch/mips/include/asm/io.h
+++ b/arch/mips/include/asm/io.h
@@ -78,4 +78,6 @@ static inline void __raw_writel(u32 b, volatile void __iomem *addr)
#define out_be16(a, v) __raw_writew(__cpu_to_be16(v), a)
#define out_be32(a, v) __raw_writel(__cpu_to_be32(v), a)
+#include <asm-generic/io.h>
+
#endif /* __ASM_MIPS_IO_H */
--
1.9.1
More information about the barebox
mailing list