瀏覽代碼

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>
weiyongjun (A) 7 年之前
父節點
當前提交
65e01ae3f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/clk/meson/axg.c

+ 1 - 1
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),