summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/cpuidle.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-12-04 14:55:14 (GMT)
committerShawn Guo <shawn.guo@linaro.org>2013-01-30 13:08:42 (GMT)
commit12bb344074cfc50482121c76571e3cda07c4bc09 (patch)
tree7edee0ab4514e32267ae96f641040a75037924c1 /arch/arm/mach-imx/cpuidle.h
parent485863b8fa02d515e48ce6b59f01d62172d2fe0d (diff)
downloadlinux-fsl-qoriq-12bb344074cfc50482121c76571e3cda07c4bc09.tar.xz
ARM: imx: move imx6q_cpuidle_driver into a separate file
Move imx6q_cpuidle_driver into a separate file as more codes will be added when WAIT mode gets implemented as cpuidle. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/cpuidle.h')
-rw-r--r--arch/arm/mach-imx/cpuidle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpuidle.h b/arch/arm/mach-imx/cpuidle.h
index bc932d1..e092d13 100644
--- a/arch/arm/mach-imx/cpuidle.h
+++ b/arch/arm/mach-imx/cpuidle.h
@@ -14,9 +14,14 @@
#ifdef CONFIG_CPU_IDLE
extern int imx_cpuidle_init(struct cpuidle_driver *drv);
+extern int imx6q_cpuidle_init(void);
#else
static inline int imx_cpuidle_init(struct cpuidle_driver *drv)
{
return -ENODEV;
}
+static inline int imx6q_cpuidle_init(void)
+{
+ return -ENODEV;
+}
#endif