diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-08-03 19:34:59 +0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-21 03:55:14 +0400 |
commit | 4a3ea24405de36181b6ce074e110ee7efe110297 (patch) | |
tree | 9d5230a464909d3420d53dcb542d5fedf419c719 /arch/arm/mach-imx/pm-imx27.c | |
parent | 92311272c1a5148e5e19d0ebc9acda0ed978fba7 (diff) | |
download | linux-4a3ea24405de36181b6ce074e110ee7efe110297.tar.xz |
ARM: plat-mxc: hook special idle handlers to arm_pm_idle
... and remove redundant include of <mach/system.h>.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/pm-imx27.c')
-rw-r--r-- | arch/arm/mach-imx/pm-imx27.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/pm-imx27.c b/arch/arm/mach-imx/pm-imx27.c index e455d2f855bf..6fcffa7db978 100644 --- a/arch/arm/mach-imx/pm-imx27.c +++ b/arch/arm/mach-imx/pm-imx27.c @@ -10,7 +10,6 @@ #include <linux/kernel.h> #include <linux/suspend.h> #include <linux/io.h> -#include <mach/system.h> #include <mach/hardware.h> static int mx27_suspend_enter(suspend_state_t state) @@ -23,7 +22,7 @@ static int mx27_suspend_enter(suspend_state_t state) cscr &= 0xFFFFFFFC; __raw_writel(cscr, MX27_IO_ADDRESS(MX27_CCM_BASE_ADDR)); /* Executes WFI */ - arch_idle(); + cpu_do_idle(); break; default: |