xref: /openbmc/linux/arch/arm/mach-imx/cpuidle.h (revision 6d45a402)
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 
13 #ifdef CONFIG_CPU_IDLE
14 extern int imx5_cpuidle_init(void);
15 extern int imx6q_cpuidle_init(void);
16 extern int imx6sl_cpuidle_init(void);
17 extern int imx6sx_cpuidle_init(void);
18 extern int imx7ulp_cpuidle_init(void);
19 #else
20 static inline int imx5_cpuidle_init(void)
21 {
22 	return 0;
23 }
24 static inline int imx6q_cpuidle_init(void)
25 {
26 	return 0;
27 }
28 static inline int imx6sl_cpuidle_init(void)
29 {
30 	return 0;
31 }
32 static inline int imx6sx_cpuidle_init(void)
33 {
34 	return 0;
35 }
36 static inline int imx7ulp_cpuidle_init(void)
37 {
38 	return 0;
39 }
40 #endif
41