diff options
author | Emilio López <emilio@elopez.com.ar> | 2014-07-28 00:49:43 -0300 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-07-28 15:39:22 -0700 |
commit | 381c1ccd65f893fedfc608a907a1a06b73d98ca8 (patch) | |
tree | 387a84606692dd303d9c3a8203354c8762fd4112 /drivers/clk/sunxi/clk-sun8i-apb0.c | |
parent | 89a9456d6ecdf328a66a561a43e9bdc3c2a2208d (diff) |
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-sun8i-apb0.c')
-rw-r--r-- | drivers/clk/sunxi/clk-sun8i-apb0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-sun8i-apb0.c b/drivers/clk/sunxi/clk-sun8i-apb0.c index 196a4997f9d9..1f5ba9b4b8cd 100644 --- a/drivers/clk/sunxi/clk-sun8i-apb0.c +++ b/drivers/clk/sunxi/clk-sun8i-apb0.c @@ -48,7 +48,7 @@ static int sun8i_a23_apb0_clk_probe(struct platform_device *pdev) return of_clk_add_provider(np, of_clk_src_simple_get, clk); } -const struct of_device_id sun8i_a23_apb0_clk_dt_ids[] = { +static const struct of_device_id sun8i_a23_apb0_clk_dt_ids[] = { { .compatible = "allwinner,sun8i-a23-apb0-clk" }, { /* sentinel */ } }; |