]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: export __clk_round_rate for providers
authorArnd Bergmann <arnd@arndb.de>
Tue, 3 Jun 2014 09:40:14 +0000 (11:40 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 3 Jun 2014 17:38:16 +0000 (10:38 -0700)
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 <arnd@arndb.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c

index 2df2b26297ce0e2b3257f4f29c5b6fe660565dec..8b73edef151de2603934f79515b416bb6b3f470f 100644 (file)
@@ -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