]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/hardware/clock.h
ARM: Add function to get clock usecount
[linux-2.6-omap-h63xx.git] / include / asm-arm / hardware / clock.h
index 19da861e523d8dbbfe327e4b07d166c61544a623..609af9f8e6c59cfc42e8cd3b80176e47b81bf93f 100644 (file)
@@ -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.