summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5/pm-imx5.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-09-28 09:16:06 (GMT)
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-04 08:55:06 (GMT)
commit41e7daf27a321848adcfcea9764ac8665133f3ea (patch)
tree9bc9f65b5a0b1a5b1e13ec31e2c919ca307eb559 /arch/arm/mach-mx5/pm-imx5.c
parentddd5f51bf661f49fb5f2be371ff1cf9cfe5fa98b (diff)
downloadlinux-fsl-qoriq-41e7daf27a321848adcfcea9764ac8665133f3ea.tar.xz
arm/imx: remove cpu_is_xxx() from arch_idle()
This patch adds an idle hook imx_idle to be called in arch_idle(). Any soc that needs a customized idle implementation other than cpu_do_idle() can set up this hook in soc specific call. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/pm-imx5.c')
-rw-r--r--arch/arm/mach-mx5/pm-imx5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/pm-imx5.c b/arch/arm/mach-mx5/pm-imx5.c
index e4529af..0624fb8 100644
--- a/arch/arm/mach-mx5/pm-imx5.c
+++ b/arch/arm/mach-mx5/pm-imx5.c
@@ -14,7 +14,8 @@
#include <linux/err.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
-#include <mach/system.h>
+#include <mach/common.h>
+#include <mach/hardware.h>
#include "crm_regs.h"
static struct clk *gpc_dvfs_clk;