clk.c (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) clk.c (e8f67482e5a4bc8d0b65d606d08cb60ee123b468)
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

--- 367 unchanged lines hidden (view full) ---

376
377 mutex_lock(&clocks_mutex);
378 clk_disable_unlocked(clk);
379 mutex_unlock(&clocks_mutex);
380}
381
382EXPORT_SYMBOL(clk_disable);
383
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

--- 367 unchanged lines hidden (view full) ---

376
377 mutex_lock(&clocks_mutex);
378 clk_disable_unlocked(clk);
379 mutex_unlock(&clocks_mutex);
380}
381
382EXPORT_SYMBOL(clk_disable);
383
384struct clk *clk_get_parent(struct clk *clk)
385{
386 return NULL;
387}
388EXPORT_SYMBOL(clk_get_parent);
389
384unsigned long clk_get_rate(struct clk *clk)
385{
386 if (!clk)
387 return 0;
388
389 return clk->rate;
390}
391

--- 174 unchanged lines hidden ---
390unsigned long clk_get_rate(struct clk *clk)
391{
392 if (!clk)
393 return 0;
394
395 return clk->rate;
396}
397

--- 174 unchanged lines hidden ---