diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-12-04 09:55:14 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-01-30 08:08:42 -0500 |
commit | 12bb344074cfc50482121c76571e3cda07c4bc09 (patch) | |
tree | 7edee0ab4514e32267ae96f641040a75037924c1 /arch/arm/mach-imx/cpuidle.h | |
parent | 485863b8fa02d515e48ce6b59f01d62172d2fe0d (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.h | 5 |
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 |
16 | extern int imx_cpuidle_init(struct cpuidle_driver *drv); | 16 | extern int imx_cpuidle_init(struct cpuidle_driver *drv); |
17 | extern int imx6q_cpuidle_init(void); | ||
17 | #else | 18 | #else |
18 | static inline int imx_cpuidle_init(struct cpuidle_driver *drv) | 19 | static inline int imx_cpuidle_init(struct cpuidle_driver *drv) |
19 | { | 20 | { |
20 | return -ENODEV; | 21 | return -ENODEV; |
21 | } | 22 | } |
23 | static inline int imx6q_cpuidle_init(void) | ||
24 | { | ||
25 | return -ENODEV; | ||
26 | } | ||
22 | #endif | 27 | #endif |