| 
									
										
										
										
											2008-09-09 11:04:14 -07:00
										 |  |  | /* arch/arm/mach-msm/clock.c
 | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright (C) 2007 Google, Inc. | 
					
						
							| 
									
										
										
										
											2013-06-17 10:43:19 -07:00
										 |  |  |  * Copyright (c) 2007-2012, The Linux Foundation. All rights reserved. | 
					
						
							| 
									
										
										
										
											2008-09-09 11:04:14 -07:00
										 |  |  |  * | 
					
						
							|  |  |  |  * This software is licensed under the terms of the GNU General Public | 
					
						
							|  |  |  |  * License version 2, as published by the Free Software Foundation, and | 
					
						
							|  |  |  |  * may be copied, distributed, and modified under those terms. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the | 
					
						
							|  |  |  |  * GNU General Public License for more details. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-17 10:43:19 -07:00
										 |  |  | #include <linux/clk-provider.h>
 | 
					
						
							| 
									
										
										
										
											2011-02-23 09:37:42 -08:00
										 |  |  | #include <linux/module.h>
 | 
					
						
							| 
									
										
										
										
											2008-09-09 11:04:14 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include "clock.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-05-12 13:43:28 -07:00
										 |  |  | int clk_reset(struct clk *clk, enum clk_reset_action action) | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2013-06-17 10:43:19 -07:00
										 |  |  | 	struct clk_hw *hw = __clk_get_hw(clk); | 
					
						
							|  |  |  | 	struct msm_clk *m = to_msm_clk(hw); | 
					
						
							|  |  |  | 	return m->reset(hw, action); | 
					
						
							| 
									
										
										
										
											2010-05-12 13:43:28 -07:00
										 |  |  | } | 
					
						
							|  |  |  | EXPORT_SYMBOL(clk_reset); |