diff options
author | Emilio López <emilio@elopez.com.ar> | 2014-07-28 07:49:43 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-07-29 02:39:22 +0400 |
commit | 381c1ccd65f893fedfc608a907a1a06b73d98ca8 (patch) | |
tree | 387a84606692dd303d9c3a8203354c8762fd4112 /drivers/clk/sunxi/clk-sun6i-ar100.c | |
parent | 89a9456d6ecdf328a66a561a43e9bdc3c2a2208d (diff) | |
download | linux-381c1ccd65f893fedfc608a907a1a06b73d98ca8.tar.xz |
clk: sunxi: staticize structures and arrays
There are some structs and arrays on the driver that are not used
anywhere else. Let's mark them as static.
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/sunxi/clk-sun6i-ar100.c')
-rw-r--r-- | drivers/clk/sunxi/clk-sun6i-ar100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/sunxi/clk-sun6i-ar100.c b/drivers/clk/sunxi/clk-sun6i-ar100.c index f73cc051f0dd..eca8ca025b6a 100644 --- a/drivers/clk/sunxi/clk-sun6i-ar100.c +++ b/drivers/clk/sunxi/clk-sun6i-ar100.c @@ -160,7 +160,7 @@ static int ar100_set_rate(struct clk_hw *hw, unsigned long rate, return 0; } -struct clk_ops ar100_ops = { +static struct clk_ops ar100_ops = { .recalc_rate = ar100_recalc_rate, .determine_rate = ar100_determine_rate, .set_parent = ar100_set_parent, @@ -213,7 +213,7 @@ static int sun6i_a31_ar100_clk_probe(struct platform_device *pdev) return of_clk_add_provider(np, of_clk_src_simple_get, clk); } -const struct of_device_id sun6i_a31_ar100_clk_dt_ids[] = { +static const struct of_device_id sun6i_a31_ar100_clk_dt_ids[] = { { .compatible = "allwinner,sun6i-a31-ar100-clk" }, { /* sentinel */ } }; |