Commit 463db204 authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

ARM: Add function to get clock usecount

Adds function to get clock usecount.
Signed-off-by: default avatarDirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 10102866
......@@ -66,6 +66,12 @@ int clk_use(struct clk *clk);
*/
void clk_unuse(struct clk *clk);
/**
* clk_get_usecount - get the use count
* @clk: clock source
*/
int clk_get_usecount(struct clk *clk);
/**
* clk_get_rate - obtain the current clock rate (in Hz) for a clock source.
* This is only valid once the clock source has been enabled.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment