diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-03 05:40:14 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-06-03 13:38:16 -0400 |
commit | 1cdf8ee2f88bbc14c697a0b8a2f25f58ed57d591 (patch) | |
tree | d0d1d4a2de6941db2852be5813e19a0f1f76859c /drivers/clk | |
parent | ab7ad35300f3810bca13993d1a6e100505c4af5b (diff) |
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 <arnd@arndb.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
1006 | else | 1006 | else |
1007 | return clk->rate; | 1007 | return clk->rate; |
1008 | } | 1008 | } |
1009 | EXPORT_SYMBOL_GPL(__clk_round_rate); | ||
1009 | 1010 | ||
1010 | /** | 1011 | /** |
1011 | * clk_round_rate - round the given rate for a clk | 1012 | * clk_round_rate - round the given rate for a clk |