Patchwork [1/3] ARM: imx: include <asm/io.h> in hardware.h

login
register
mail settings
Submitter Shawn Guo
Date May 13, 2013, 1:32 a.m.
Message ID <1368408728-12264-2-git-send-email-shawn.guo@linaro.org>
Download mbox | patch
Permalink /patch/243229/
State New
Headers show

Comments

Shawn Guo - May 13, 2013, 1:32 a.m.
As IOMEM is referenced in hardware.h, <asm/io.h> should be included
there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/mach-imx/hardware.h |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/arch/arm/mach-imx/hardware.h b/arch/arm/mach-imx/hardware.h
index 356131f..a3b0b04 100644
--- a/arch/arm/mach-imx/hardware.h
+++ b/arch/arm/mach-imx/hardware.h
@@ -20,6 +20,7 @@ 
 #ifndef __ASM_ARCH_MXC_HARDWARE_H__
 #define __ASM_ARCH_MXC_HARDWARE_H__
 
+#include <asm/io.h>
 #include <asm/sizes.h>
 
 #define addr_in_module(addr, mod) \