| 
									
										
										
										
											2012-05-21 17:50:28 -05:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright 2012 Freescale Semiconductor, Inc. | 
					
						
							|  |  |  |  * Copyright 2012 Linaro Ltd. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * The code contained herein is licensed under the GNU General Public | 
					
						
							|  |  |  |  * License. You may obtain a copy of the GNU General Public License | 
					
						
							|  |  |  |  * Version 2 or later at the following locations: | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * http://www.opensource.org/licenses/gpl-license.html
 | 
					
						
							|  |  |  |  * http://www.gnu.org/copyleft/gpl.html
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef CONFIG_CPU_IDLE
 | 
					
						
							| 
									
										
										
										
											2013-04-23 08:54:45 +00:00
										 |  |  | extern int imx5_cpuidle_init(void); | 
					
						
							| 
									
										
										
										
											2012-12-04 22:55:14 +08:00
										 |  |  | extern int imx6q_cpuidle_init(void); | 
					
						
							| 
									
										
										
										
											2012-05-21 17:50:28 -05:00
										 |  |  | #else
 | 
					
						
							| 
									
										
										
										
											2013-04-23 08:54:45 +00:00
										 |  |  | static inline int imx5_cpuidle_init(void) | 
					
						
							| 
									
										
										
										
											2012-05-21 17:50:28 -05:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2013-04-23 08:54:45 +00:00
										 |  |  | 	return 0; | 
					
						
							| 
									
										
										
										
											2012-05-21 17:50:28 -05:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2012-12-04 22:55:14 +08:00
										 |  |  | static inline int imx6q_cpuidle_init(void) | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2013-04-23 08:54:45 +00:00
										 |  |  | 	return 0; | 
					
						
							| 
									
										
										
										
											2012-12-04 22:55:14 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2012-05-21 17:50:28 -05:00
										 |  |  | #endif
 |