[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200915140110.11268-1-yuehaibing@huawei.com>
Date: Tue, 15 Sep 2020 22:01:10 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <geert+renesas@...der.be>, <magnus.damm@...il.com>,
<yoshihiro.shimoda.uh@...esas.com>, <yuehaibing@...wei.com>
CC: <linux-renesas-soc@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] soc: renesas: r8a779a0-sysc: Make r8a779a0_sysc_info static
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@...wei.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
Powered by blists - more mailing lists