diff mbox

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

Message ID 1425302750-6151-1-git-send-email-trini@konsulko.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini March 2, 2015, 1:25 p.m. UTC
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(+)

Comments

Tom Rini March 2, 2015, 3:29 p.m. UTC | #1
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!
diff mbox

Patch

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