]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
soc: renesas: r9a09g057-sys: Mark rzv2h_sys_init_data as __initconst
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Mon, 9 Mar 2026 16:59:44 +0000 (16:59 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 16 Mar 2026 10:04:18 +0000 (11:04 +0100)
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>
drivers/soc/renesas/r9a09g057-sys.c

index 827c718ac7c545dc0500d8144d8803a8187e3a80..f3e054206acbd99b051fca157345805a7f844d17 100644 (file)
@@ -161,7 +161,7 @@ static bool rzv2h_regmap_writeable_reg(struct device *dev, unsigned int reg)
        }
 }
 
-const struct rz_sysc_init_data rzv2h_sys_init_data = {
+const struct rz_sysc_init_data rzv2h_sys_init_data __initconst = {
        .soc_id_init_data = &rzv2h_sys_soc_id_init_data,
        .readable_reg = rzv2h_regmap_readable_reg,
        .writeable_reg = rzv2h_regmap_writeable_reg,