summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-sun6i-apb0-gates.c
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2014-07-28 00:49:43 -0300
committerMike Turquette <mturquette@linaro.org>2014-07-28 15:39:22 -0700
commit381c1ccd65f893fedfc608a907a1a06b73d98ca8 (patch)
tree387a84606692dd303d9c3a8203354c8762fd4112 /drivers/clk/sunxi/clk-sun6i-apb0-gates.c
parent89a9456d6ecdf328a66a561a43e9bdc3c2a2208d (diff)
downloadlinux-381c1ccd65f893fedfc608a907a1a06b73d98ca8.tar.bz2
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-apb0-gates.c')
-rw-r--r--drivers/clk/sunxi/clk-sun6i-apb0-gates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c
index ef5e419ef676..e10d0521ec76 100644
--- a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c
+++ b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c
@@ -29,7 +29,7 @@ static const struct gates_data sun8i_a23_apb0_gates __initconst = {
.mask = {0x5D},
};
-const struct of_device_id sun6i_a31_apb0_gates_clk_dt_ids[] = {
+static const struct of_device_id sun6i_a31_apb0_gates_clk_dt_ids[] = {
{ .compatible = "allwinner,sun6i-a31-apb0-gates-clk", .data = &sun6i_a31_apb0_gates },
{ .compatible = "allwinner,sun8i-a23-apb0-gates-clk", .data = &sun8i_a23_apb0_gates },
{ /* sentinel */ }