summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-fixed.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-02-16 11:24:31 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-17 08:21:22 +0100
commit9404bfce88e320631a749156b194edcc2803c74d (patch)
tree4b9422df5f8069124b73ede22cbfac64cb9e455d /drivers/clk/clk-fixed.c
parent00fa656976d954b9a09c44c79db8567952bb1eed (diff)
downloadbarebox-9404bfce88e320631a749156b194edcc2803c74d.tar.gz
barebox-9404bfce88e320631a749156b194edcc2803c74d.tar.xz
drivers/clk/clk-fixed.c: Fix sparse warning
drivers/clk/clk-fixed.c:35:16: warning: symbol 'clk_fixed_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/clk-fixed.c')
-rw-r--r--drivers/clk/clk-fixed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-fixed.c b/drivers/clk/clk-fixed.c
index 3a38865fbe..8164005a05 100644
--- a/drivers/clk/clk-fixed.c
+++ b/drivers/clk/clk-fixed.c
@@ -32,7 +32,7 @@ static unsigned long clk_fixed_recalc_rate(struct clk *clk,
return fix->rate;
}
-struct clk_ops clk_fixed_ops = {
+static struct clk_ops clk_fixed_ops = {
.recalc_rate = clk_fixed_recalc_rate,
.is_enabled = clk_is_enabled_always,
};