blob: 24e33670417c1dd48f21aa2acf4f8bdfbc16c95a [file] [log] [blame]
Robert Lee2da50e62012-05-21 17:50:28 -05001/*
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
Robert Lee2da50e62012-05-21 17:50:28 -050013#ifdef CONFIG_CPU_IDLE
Daniel Lezcano54a46442013-04-23 08:54:45 +000014extern int imx5_cpuidle_init(void);
Shawn Guo12bb34402012-12-04 22:55:14 +080015extern int imx6q_cpuidle_init(void);
Anson Huang751f7e92014-01-09 16:03:16 +080016extern int imx6sl_cpuidle_init(void);
Robert Lee2da50e62012-05-21 17:50:28 -050017#else
Daniel Lezcano54a46442013-04-23 08:54:45 +000018static inline int imx5_cpuidle_init(void)
Robert Lee2da50e62012-05-21 17:50:28 -050019{
Daniel Lezcano54a46442013-04-23 08:54:45 +000020 return 0;
Robert Lee2da50e62012-05-21 17:50:28 -050021}
Shawn Guo12bb34402012-12-04 22:55:14 +080022static inline int imx6q_cpuidle_init(void)
23{
Daniel Lezcano54a46442013-04-23 08:54:45 +000024 return 0;
Shawn Guo12bb34402012-12-04 22:55:14 +080025}
Anson Huang751f7e92014-01-09 16:03:16 +080026static inline int imx6sl_cpuidle_init(void)
27{
28 return 0;
29}
Robert Lee2da50e62012-05-21 17:50:28 -050030#endif