summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-kzm_arm11_01.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-10-17 10:15:07 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-17 23:41:03 +0400
commitf2d9661bc99dc816cb0f01760d4ebfe2b4d840e4 (patch)
treedb2097fa5e338db8d4e130ea04683f8652a5c4f2 /arch/arm/mach-imx/mach-kzm_arm11_01.c
parentf16fcb634894fca5173ad6b3ee8dcc838386eeda (diff)
downloadlinux-f2d9661bc99dc816cb0f01760d4ebfe2b4d840e4.tar.xz
arm/imx: explicitly includes mach/hardware.h in mach-kzm_arm11_01.c
The mach-kzm_arm11_01.c references a number of things requiring the explicit inclusion of mach/hardware.h. Otherwise, when indirect inclusion to mach/hardware.h gets cleaned up, we will see the following compile error. CC arch/arm/mach-imx/mach-kzm_arm11_01.o arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IOMEM’ arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IMX_IO_P2V_MODULE’ arch/arm/mach-imx/mach-kzm_arm11_01.c:71:14: error: ‘MX31_CS4’ undeclared here (not in a function) arch/arm/mach-imx/mach-kzm_arm11_01.c:71:14: error: ‘MX31_CS5’ undeclared here (not in a function) arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IMX_IO_P2V’ Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/mach-kzm_arm11_01.c')
-rw-r--r--arch/arm/mach-imx/mach-kzm_arm11_01.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-kzm_arm11_01.c b/arch/arm/mach-imx/mach-kzm_arm11_01.c
index e472a1d88058..05da82e7c813 100644
--- a/arch/arm/mach-imx/mach-kzm_arm11_01.c
+++ b/arch/arm/mach-imx/mach-kzm_arm11_01.c
@@ -36,6 +36,7 @@
#include <mach/clock.h>
#include <mach/common.h>
+#include <mach/hardware.h>
#include <mach/iomux-mx3.h>
#include "devices-imx31.h"