From: Arnd Bergmann Date: Tue, 3 Jun 2014 09:40:14 +0000 (+0200) Subject: clk: export __clk_round_rate for providers X-Git-Tag: firefly_0821_release~176^2~3820^2^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1cdf8ee2f88bbc14c697a0b8a2f25f58ed57d591;p=firefly-linux-kernel-4.4.55.git clk: export __clk_round_rate for providers Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds a use of the __clk_round_rate in a clock provided that can be built as a loadable module. This exports the symbol to avoid the build error from compiling the qcom clock as a module. Signed-off-by: Arnd Bergmann Cc: Stephen Boyd Signed-off-by: Mike Turquette --- diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 2df2b26297ce..8b73edef151d 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate) else return clk->rate; } +EXPORT_SYMBOL_GPL(__clk_round_rate); /** * clk_round_rate - round the given rate for a clk