xref: /linux/arch/arm/mach-imx/cpuidle.h (revision 564eb714f5f09ac733c26860d5f0831f213fbdf1)
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 #else
17 static inline int imx5_cpuidle_init(void)
18 {
19 	return 0;
20 }
21 static inline int imx6q_cpuidle_init(void)
22 {
23 	return 0;
24 }
25 #endif
26