summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-sun8i-apb0.c
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2014-07-28 05:49:43 +0200
committerMike Turquette <mturquette@linaro.org>2014-07-29 00:39:22 +0200
commit381c1ccd65f893fedfc608a907a1a06b73d98ca8 (patch)
tree387a84606692dd303d9c3a8203354c8762fd4112 /drivers/clk/sunxi/clk-sun8i-apb0.c
parentclk: sunxi: add __iomem markings to MMIO pointers (diff)
downloadlinux-381c1ccd65f893fedfc608a907a1a06b73d98ca8.tar.xz
linux-381c1ccd65f893fedfc608a907a1a06b73d98ca8.zip
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.c2
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 */ }
};