clk: ti: Mark ti_clk_features static
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 15 Jul 2015 19:03:52 +0000 (12:03 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:58:37 +0000 (11:58 -0700)
This variable isn't exported outside of this file so mark it
static. Silences the following sparse warning:

drivers/clk/ti/clk.c:36:24: warning: symbol 'ti_clk_features' was not declared. Should it be static?

Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/ti/clk.c

index 521e330e304689050c3874f1dbc05a3c0c985469..0d8861cf21a8269a6db88d2882c94052f6891ecb 100644 (file)
@@ -32,7 +32,7 @@
 struct ti_clk_ll_ops *ti_clk_ll_ops;
 static struct device_node *clocks_node_ptr[CLK_MAX_MEMMAPS];
 
-struct ti_clk_features ti_clk_features;
+static struct ti_clk_features ti_clk_features;
 
 struct clk_iomap {
        struct regmap *regmap;