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

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@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

On Mon, Mar 02, 2015 at 08:25:50AM -0500, Tom Rini wrote:
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@konsulko.com
Applied to u-boot/master, thanks!
participants (2)
-
Tom Rini
-
Tom Rini