summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/axg.c
diff options
context:
space:
mode:
authorweiyongjun (A) <weiyongjun1@huawei.com>2017-12-28 03:18:30 +0000
committerStephen Boyd <sboyd@codeaurora.org>2017-12-28 10:42:07 -0800
commit65e01ae3f295c6e79f56383dce58716a99d3d866 (patch)
tree8f8441f6877666ecdf354ef62b38b8031b63d3a1 /drivers/clk/meson/axg.c
parent4f8f7809e47b6af17032aad66f84d7c16444bd05 (diff)
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/axg.c')
-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),