mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] soc: renesas: r8a779a0-sysc: Make r8a779a0_sysc_info static
@ 2020-09-15 14:01 YueHaibing
  2020-09-15 15:22 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: YueHaibing @ 2020-09-15 14:01 UTC (permalink / raw)
  To: geert+renesas, magnus.damm, yoshihiro.shimoda.uh, yuehaibing
  Cc: linux-renesas-soc, linux-kernel

Fix sparse warning:

drivers/soc/renesas/r8a779a0-sysc.c:99:33: warning: symbol 'r8a779a0_sysc_info' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/soc/renesas/r8a779a0-sysc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/renesas/r8a779a0-sysc.c b/drivers/soc/renesas/r8a779a0-sysc.c
index 09dac5742c60..d464ffa1be33 100644
--- a/drivers/soc/renesas/r8a779a0-sysc.c
+++ b/drivers/soc/renesas/r8a779a0-sysc.c
@@ -96,7 +96,7 @@ static struct r8a779a0_sysc_area r8a779a0_areas[] __initdata = {
 	{ "a1dsp1",	R8A779A0_PD_A1DSP1, R8A779A0_PD_A2CN1 },
 };
 
-const struct r8a779a0_sysc_info r8a779a0_sysc_info __initconst = {
+static const struct r8a779a0_sysc_info r8a779a0_sysc_info __initconst = {
 	.areas = r8a779a0_areas,
 	.num_areas = ARRAY_SIZE(r8a779a0_areas),
 };
-- 
2.17.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-16  7:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 14:01 [PATCH -next] soc: renesas: r8a779a0-sysc: Make r8a779a0_sysc_info static YueHaibing
2020-09-15 15:22 ` Geert Uytterhoeven
2020-09-16  1:26   ` Yuehaibing
2020-09-16  6:59     ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®