* [PATCH -next] clk: meson-axg: make local symbol axg_gp0_params_table static
@ 2017-12-28 3:18 Wei Yongjun
2017-12-28 18:42 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2017-12-28 3:18 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
drivers/clk/meson/axg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/meson/axg.c b/drivers/clk/meson/axg.c
index a66b3a5..f979cb6 100644
--- a/drivers/clk/meson/axg.c
+++ b/drivers/clk/meson/axg.c
@@ -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),
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH -next] clk: meson-axg: make local symbol axg_gp0_params_table static
2017-12-28 3:18 [PATCH -next] clk: meson-axg: make local symbol axg_gp0_params_table static Wei Yongjun
@ 2017-12-28 18:42 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2017-12-28 18:42 UTC (permalink / raw)
To: linux-arm-kernel
On 12/28, Wei Yongjun wrote:
> 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>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-28 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-28 3:18 [PATCH -next] clk: meson-axg: make local symbol axg_gp0_params_table static Wei Yongjun
2017-12-28 18:42 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).