Skip to content

Commit

Permalink
clk: export __clk_round_rate for providers
Browse files Browse the repository at this point in the history
Commit 99cbd06 ("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>
  • Loading branch information
Arnd Bergmann authored and Mike Turquette committed Jun 3, 2014
1 parent ab7ad35 commit 1cdf8ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1cdf8ee

Please sign in to comment.