clk: meson-axg: make local symbol axg_gp0_params_table static
PATCH 1/1 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 <[email protected]>
--- drivers/clk/meson/axg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/meson/axg.c +1 -1
@@ -257,7 +257,7 @@ { /* 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 ),
Stephen Boyd
AppliedPATCH 1/1 clk: meson-axg: make local symbol axg_gp0_params_table static
Quoted 7 lines · Wei Yongjun
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 <[email protected]>---
Applied to clk-next
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project