projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4c36a
)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/clock.c
b/arch/arm/mach-rk30/clock.c
index 1017eaf3965cd60b6d598d49e34cd11b289927e9..6510885f295d1937678b9cfaae8fb2d302d917ba 100644
(file)
--- a/
arch/arm/mach-rk30/clock.c
+++ b/
arch/arm/mach-rk30/clock.c
@@
-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);