clk: meson-axg: make local symbol axg_gp0_params_table static
authorweiyongjun (A) <weiyongjun1@huawei.com>
Thu, 28 Dec 2017 03:18:30 +0000 (03:18 +0000)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 28 Dec 2017 18:42:07 +0000 (10:42 -0800)
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>
drivers/clk/meson/axg.c

index 717c02d7fe6d2476c4a01ff654e45076c27b663a..d883bef49eb7008f3814eb20fe8df63f3f31f6a1 100644 (file)
@@ -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),