aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/cpuidle.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-12-04 09:55:14 -0500
committerShawn Guo <shawn.guo@linaro.org>2013-01-30 08:08:42 -0500
commit12bb344074cfc50482121c76571e3cda07c4bc09 (patch)
tree7edee0ab4514e32267ae96f641040a75037924c1 /arch/arm/mach-imx/cpuidle.h
parent485863b8fa02d515e48ce6b59f01d62172d2fe0d (diff)
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 bc932d1af372..e092d1359d94 100644
--- a/arch/arm/mach-imx/cpuidle.h
+++ b/arch/arm/mach-imx/cpuidle.h
@@ -14,9 +14,14 @@
14 14
15#ifdef CONFIG_CPU_IDLE 15#ifdef CONFIG_CPU_IDLE
16extern int imx_cpuidle_init(struct cpuidle_driver *drv); 16extern int imx_cpuidle_init(struct cpuidle_driver *drv);
17extern int imx6q_cpuidle_init(void);
17#else 18#else
18static inline int imx_cpuidle_init(struct cpuidle_driver *drv) 19static inline int imx_cpuidle_init(struct cpuidle_driver *drv)
19{ 20{
20 return -ENODEV; 21 return -ENODEV;
21} 22}
23static inline int imx6q_cpuidle_init(void)
24{
25 return -ENODEV;
26}
22#endif 27#endif