[U-Boot] [PATCH] armv7.h: Add <asm/io.h>

Tom Rini tom.rini at gmail.com
Mon Mar 2 14:25:50 CET 2015


With a389531 we now call readl() from this file so add <asm/io.h> so
that we have a prototype for the function.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/arm/include/asm/armv7.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/armv7.h b/arch/arm/include/asm/armv7.h
index dc9561c..edb3b80 100644
--- a/arch/arm/include/asm/armv7.h
+++ b/arch/arm/include/asm/armv7.h
@@ -58,6 +58,7 @@
 
 #ifndef __ASSEMBLY__
 #include <linux/types.h>
+#include <asm/io.h>
 
 /*
  * CP15 Barrier instructions
-- 
1.7.9.5



More information about the U-Boot mailing list