diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-12-04 22:55:14 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-01-30 21:08:42 +0800 |
commit | 12bb344074cfc50482121c76571e3cda07c4bc09 (patch) | |
tree | 7edee0ab4514e32267ae96f641040a75037924c1 /arch/arm/mach-imx/cpuidle.h | |
parent | 485863b8fa02d515e48ce6b59f01d62172d2fe0d (diff) | |
download | blackbird-op-linux-12bb344074cfc50482121c76571e3cda07c4bc09.tar.gz blackbird-op-linux-12bb344074cfc50482121c76571e3cda07c4bc09.zip |
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 @@ #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 |