1
0
Fork 0

clk: mmp: fix sparse non static symbol warning

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>
hifive-unleashed-5.1
Wei Yongjun 2014-12-09 09:07:30 +08:00 committed by Michael Turquette
parent 646cafc6aa
commit 74fc23aa40
1 changed files with 1 additions and 1 deletions

View File

@ -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;