[PATCH 1/8] ARM: AT91: Add missing include
Sascha Hauer
s.hauer at pengutronix.de
Sat Aug 17 05:25:30 EDT 2013
mach/io.h uses AT91_BASE_SYS, hence it needs mach/hardware.h.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/mach-at91/include/mach/io.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/include/mach/io.h b/arch/arm/mach-at91/include/mach/io.h
index bffa8f2..a1d970f 100644
--- a/arch/arm/mach-at91/include/mach/io.h
+++ b/arch/arm/mach-at91/include/mach/io.h
@@ -19,6 +19,7 @@
#define __ASM_ARCH_IO_H
#include <io.h>
+#include <mach/hardware.h>
static inline unsigned int at91_sys_read(unsigned int reg_offset)
{
--
1.8.4.rc2
More information about the barebox
mailing list