From: Wei Yongjun Date: Tue, 9 Dec 2014 01:07:30 +0000 (+0800) Subject: clk: mmp: fix sparse non static symbol warning X-Git-Tag: v3.19-rc1~2^2~6 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=74fc23aa40525695e47d6988f9c0a501e39ef01d;p=karo-tx-linux.git 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 Signed-off-by: Michael Turquette --- diff --git a/drivers/clk/mmp/clk-frac.c b/drivers/clk/mmp/clk-frac.c index eeba52c2def6..584a9927993b 100644 --- a/drivers/clk/mmp/clk-frac.c +++ b/drivers/clk/mmp/clk-frac.c @@ -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;