summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson
diff options
context:
space:
mode:
authorweiyongjun (A) <weiyongjun1@huawei.com>2017-12-28 04:18:30 +0100
committerStephen Boyd <sboyd@codeaurora.org>2017-12-28 19:42:07 +0100
commit65e01ae3f295c6e79f56383dce58716a99d3d866 (patch)
tree8f8441f6877666ecdf354ef62b38b8031b63d3a1 /drivers/clk/meson
parentclk: meson-axg: fix return value check in axg_clkc_probe() (diff)
downloadlinux-65e01ae3f295c6e79f56383dce58716a99d3d866.tar.xz
linux-65e01ae3f295c6e79f56383dce58716a99d3d866.zip
clk: meson-axg: make local symbol axg_gp0_params_table static
Fixes the following sparse warning: drivers/clk/meson/axg.c:260:25: warning: symbol 'axg_gp0_params_table' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/meson')
-rw-r--r--drivers/clk/meson/axg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/meson/axg.c b/drivers/clk/meson/axg.c
index 717c02d7fe6d..d883bef49eb7 100644
--- a/drivers/clk/meson/axg.c
+++ b/drivers/clk/meson/axg.c
@@ -257,7 +257,7 @@ static const struct pll_rate_table axg_gp0_pll_rate_table[] = {
{ /* sentinel */ },
};
-struct pll_params_table axg_gp0_params_table[] = {
+static struct pll_params_table axg_gp0_params_table[] = {
PLL_PARAM(HHI_GP0_PLL_CNTL, 0x40010250),
PLL_PARAM(HHI_GP0_PLL_CNTL1, 0xc084a000),
PLL_PARAM(HHI_GP0_PLL_CNTL2, 0xb75020be),