rk30: clock: add clk_get_rate
author黄涛 <huangtao@rock-chips.com>
Tue, 7 Feb 2012 10:47:47 +0000 (18:47 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 7 Feb 2012 10:47:47 +0000 (18:47 +0800)
arch/arm/mach-rk30/clock.c

index 1017eaf3965cd60b6d598d49e34cd11b289927e9..6510885f295d1937678b9cfaae8fb2d302d917ba 100644 (file)
@@ -20,3 +20,9 @@ void clk_disable(struct clk *clk)
                return;
 }
 EXPORT_SYMBOL(clk_disable);
+
+unsigned long clk_get_rate(struct clk *clk)
+{
+       return 24000000;
+}
+EXPORT_SYMBOL(clk_get_rate);