mach/io.h uses AT91_BASE_SYS, hence it needs mach/hardware.h. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox