arm/imx: explicitly includes mach/hardware.h in pm-imx27.c
authorShawn Guo <shawn.guo@linaro.org>
Mon, 17 Oct 2011 06:15:09 +0000 (14:15 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 17 Oct 2011 19:41:03 +0000 (21:41 +0200)
commitbbbab56eb081e8a4344101d91fad0e27a768478f
tree7c2a9bf5869bab18d7435314a16a2b4ab5fb7e5d
parent25971426532f04e9da5b2bca841bd5247138067f
arm/imx: explicitly includes mach/hardware.h in pm-imx27.c

The pm-imx27.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/pm-imx27.o
arch/arm/mach-imx/pm-imx27.c: In function ‘mx27_suspend_enter’:
arch/arm/mach-imx/pm-imx27.c:22:3: error: implicit declaration of function ‘IOMEM’
arch/arm/mach-imx/pm-imx27.c:22:3: error: implicit declaration of function ‘IMX_IO_P2V’
arch/arm/mach-imx/pm-imx27.c: In function ‘mx27_pm_init’:
arch/arm/mach-imx/pm-imx27.c:42:2: error: implicit declaration of function ‘cpu_is_mx27’

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/pm-imx27.c