diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-02-16 11:24:32 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-17 08:21:23 +0100 |
commit | db6f20a1e5713bc7382d0fcec0e8c797cbb0556b (patch) | |
tree | 6c3a199b084cc49ccdeb5d4be9fed86006275a88 /drivers/clk | |
parent | 9404bfce88e320631a749156b194edcc2803c74d (diff) | |
download | barebox-db6f20a1e5713bc7382d0fcec0e8c797cbb0556b.tar.gz barebox-db6f20a1e5713bc7382d0fcec0e8c797cbb0556b.tar.xz |
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-fixed-factor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.c index 52e7c16c49..f0ecbd3e59 100644 --- a/drivers/clk/clk-fixed-factor.c +++ b/drivers/clk/clk-fixed-factor.c @@ -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, }; |