Skip to contentSkip to conversation

clk: meson-axg: make local symbol axg_gp0_params_table static

PATCH New Wei Yongjun 2 participants 2 messages Dec 28, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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?

---
 drivers/clk/meson/axg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/meson/axg.c +1 -1
index a66b3a5..f979cb6 100644
@@ -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),
Applied
#1 lore raw

PATCH 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?

---

Applied to clk-next

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project