diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-12-08 20:07:30 -0500 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2014-12-11 15:14:09 -0500 |
commit | 74fc23aa40525695e47d6988f9c0a501e39ef01d (patch) | |
tree | c30eede32522d7f5c290d3b4376fc72b630e06b9 | |
parent | 646cafc6aa4d6004d189de1cdc267ab562069ba9 (diff) |
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>
-rw-r--r-- | drivers/clk/mmp/clk-frac.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
110 | return 0; | 110 | return 0; |
111 | } | 111 | } |
112 | 112 | ||
113 | void clk_factor_init(struct clk_hw *hw) | 113 | static void clk_factor_init(struct clk_hw *hw) |
114 | { | 114 | { |
115 | struct mmp_clk_factor *factor = to_clk_factor(hw); | 115 | struct mmp_clk_factor *factor = to_clk_factor(hw); |
116 | struct mmp_clk_factor_masks *masks = factor->masks; | 116 | struct mmp_clk_factor_masks *masks = factor->masks; |