Skip to content

Commit 71e94c7

Browse files
prabhakarladgeertu
authored andcommitted
soc: renesas: r9a09g047-sys: Mark rzg3e_sys_init_data as __initconst
Annotate rzg3e_sys_init_data with __initconst as it is only used during initialization. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20260309165946.3003731-3-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent a01c4cd commit 71e94c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/renesas/r9a09g047-sys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static bool rzg3e_regmap_writeable_reg(struct device *dev, unsigned int reg)
139139
}
140140
}
141141

142-
const struct rz_sysc_init_data rzg3e_sys_init_data = {
142+
const struct rz_sysc_init_data rzg3e_sys_init_data __initconst = {
143143
.soc_id_init_data = &rzg3e_sys_soc_id_init_data,
144144
.readable_reg = rzg3e_regmap_readable_reg,
145145
.writeable_reg = rzg3e_regmap_writeable_reg,

0 commit comments

Comments
 (0)