9
0
Fork 0

drivers/clk/clk-fixed-factor.c: Fix sparse warning

drivers/clk/clk-fixed-factor.c:38:16: warning: symbol 'clk_fixed_factor_ops' was not declared. Should it be static?

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2014-02-16 11:24:32 +04:00 committed by Sascha Hauer
parent 9404bfce88
commit db6f20a1e5
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ static unsigned long clk_fixed_factor_recalc_rate(struct clk *clk,
return (parent_rate / f->div) * f->mult;
}
struct clk_ops clk_fixed_factor_ops = {
static struct clk_ops clk_fixed_factor_ops = {
.recalc_rate = clk_fixed_factor_recalc_rate,
};