diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-09-14 02:14:45 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-10-14 22:05:43 -0400 |
commit | 50f2de61269bbe2f40bead1969a9594fa8599b93 (patch) | |
tree | 842f17cd25c5350f602a3fb31960e34bb3855b21 /arch/arm/mach-imx/cpu.c | |
parent | 6dde5ac5220b3b9c28f82f291b64eca3e5ebe80d (diff) |
ARM: imx: include hardware.h rather than mach/hardware.h
It moves a bunch of header files included in hardware.h and itself
from mach-imx/include/mach to mach-imx, and updates users to include
hardware.h rather than mach/hardware.h. The files in mach-imx/devices
will need to include "../hardware.h".
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-imx/cpu.c')
-rw-r--r-- | arch/arm/mach-imx/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index 220dd6f93126..03fcbd082593 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c | |||
@@ -1,7 +1,8 @@ | |||
1 | 1 | ||
2 | #include <linux/module.h> | 2 | #include <linux/module.h> |
3 | #include <linux/io.h> | 3 | #include <linux/io.h> |
4 | #include <mach/hardware.h> | 4 | |
5 | #include "hardware.h" | ||
5 | 6 | ||
6 | unsigned int __mxc_cpu_type; | 7 | unsigned int __mxc_cpu_type; |
7 | EXPORT_SYMBOL(__mxc_cpu_type); | 8 | EXPORT_SYMBOL(__mxc_cpu_type); |