Skip to content

Commit

Permalink
clk: mmp: fix sparse non static symbol warning
Browse files Browse the repository at this point in the history
Fixes the following sparse warnings:

drivers/clk/mmp/clk-frac.c:113:6: warning:
 symbol 'clk_factor_init' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
  • Loading branch information
Wei Yongjun authored and Michael Turquette committed Dec 11, 2014
1 parent 646cafc commit 74fc23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/mmp/clk-frac.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static int clk_factor_set_rate(struct clk_hw *hw, unsigned long drate,
return 0;
}

void clk_factor_init(struct clk_hw *hw)
static void clk_factor_init(struct clk_hw *hw)
{
struct mmp_clk_factor *factor = to_clk_factor(hw);
struct mmp_clk_factor_masks *masks = factor->masks;
Expand Down

0 comments on commit 74fc23a

Please sign in to comment.