Commit | Line | Data |
---|---|---|
2da50e62 RL |
1 | /* |
2 | * Copyright 2012 Freescale Semiconductor, Inc. | |
3 | * Copyright 2012 Linaro Ltd. | |
4 | * | |
5 | * The code contained herein is licensed under the GNU General Public | |
6 | * License. You may obtain a copy of the GNU General Public License | |
7 | * Version 2 or later at the following locations: | |
8 | * | |
9 | * http://www.opensource.org/licenses/gpl-license.html | |
10 | * http://www.gnu.org/copyleft/gpl.html | |
11 | */ | |
12 | ||
2da50e62 | 13 | #ifdef CONFIG_CPU_IDLE |
54a4644b | 14 | extern int imx5_cpuidle_init(void); |
12bb3440 | 15 | extern int imx6q_cpuidle_init(void); |
751f7e99 | 16 | extern int imx6sl_cpuidle_init(void); |
05136f08 | 17 | extern int imx6sx_cpuidle_init(void); |
2da50e62 | 18 | #else |
54a4644b | 19 | static inline int imx5_cpuidle_init(void) |
2da50e62 | 20 | { |
54a4644b | 21 | return 0; |
2da50e62 | 22 | } |
12bb3440 SG |
23 | static inline int imx6q_cpuidle_init(void) |
24 | { | |
54a4644b | 25 | return 0; |
12bb3440 | 26 | } |
751f7e99 AH |
27 | static inline int imx6sl_cpuidle_init(void) |
28 | { | |
29 | return 0; | |
30 | } | |
05136f08 AH |
31 | static inline int imx6sx_cpuidle_init(void) |
32 | { | |
33 | return 0; | |
34 | } | |
2da50e62 | 35 | #endif |