Skip to content

Commit a01c4cd

Browse files
prabhakarladgeertu
authored andcommitted
soc: renesas: r9a09g057-sys: Mark rzv2h_sys_init_data as __initconst
Annotate rzv2h_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: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://patch.msgid.link/20260309165946.3003731-2-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent b1de982 commit a01c4cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/renesas/r9a09g057-sys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static bool rzv2h_regmap_writeable_reg(struct device *dev, unsigned int reg)
161161
}
162162
}
163163

164-
const struct rz_sysc_init_data rzv2h_sys_init_data = {
164+
const struct rz_sysc_init_data rzv2h_sys_init_data __initconst = {
165165
.soc_id_init_data = &rzv2h_sys_soc_id_init_data,
166166
.readable_reg = rzv2h_regmap_readable_reg,
167167
.writeable_reg = rzv2h_regmap_writeable_reg,

0 commit comments

Comments
 (0)