From: 黄涛 Date: Tue, 7 Feb 2012 10:47:47 +0000 (+0800) Subject: rk30: clock: add clk_get_rate X-Git-Tag: firefly_0821_release~9595^2~169 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=76631fc74e3f61cd7c1a33d4a106dcbb92808d18;p=firefly-linux-kernel-4.4.55.git rk30: clock: add clk_get_rate --- diff --git a/arch/arm/mach-rk30/clock.c b/arch/arm/mach-rk30/clock.c index 1017eaf3965c..6510885f295d 100644 --- 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);