diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-12-04 15:55:14 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-01-30 14:08:42 +0100 |
commit | 12bb344074cfc50482121c76571e3cda07c4bc09 (patch) | |
tree | 7edee0ab4514e32267ae96f641040a75037924c1 /arch/arm/mach-imx/cpuidle.h | |
parent | ARM: imx: mask gpc interrupts initially (diff) | |
download | linux-12bb344074cfc50482121c76571e3cda07c4bc09.tar.xz 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 |