clk.c (0337966d121ebebf73a1c346123e8112796e684e) | clk.c (1b495faec231980b6c719994b24044ccc04ae06c) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> 7 */ 8 --- 325 unchanged lines hidden (view full) --- 334 clk_disable_unlocked(clk); 335 mutex_unlock(&clocks_mutex); 336} 337 338EXPORT_SYMBOL(clk_disable); 339 340unsigned long clk_get_rate(struct clk *clk) 341{ | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> 7 */ 8 --- 325 unchanged lines hidden (view full) --- 334 clk_disable_unlocked(clk); 335 mutex_unlock(&clocks_mutex); 336} 337 338EXPORT_SYMBOL(clk_disable); 339 340unsigned long clk_get_rate(struct clk *clk) 341{ |
342 if (!clk) 343 return 0; 344 |
|
342 return clk->rate; 343} 344 345EXPORT_SYMBOL(clk_get_rate); 346 347int clk_set_rate(struct clk *clk, unsigned long rate) 348{ 349 return 0; --- 65 unchanged lines hidden --- | 345 return clk->rate; 346} 347 348EXPORT_SYMBOL(clk_get_rate); 349 350int clk_set_rate(struct clk *clk, unsigned long rate) 351{ 352 return 0; --- 65 unchanged lines hidden --- |