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

index e413b0eff9bfd4c3f2a13fae3cf411e14a8945dc..ea3ca10fcc33f8844a8ebd7412cda2feb6154798 100644 (file)
@@ -139,7 +139,7 @@ static bool rzg3e_regmap_writeable_reg(struct device *dev, unsigned int reg)
        }
 }
 
-const struct rz_sysc_init_data rzg3e_sys_init_data = {
+const struct rz_sysc_init_data rzg3e_sys_init_data __initconst = {
        .soc_id_init_data = &rzg3e_sys_soc_id_init_data,
        .readable_reg = rzg3e_regmap_readable_reg,
        .writeable_reg = rzg3e_regmap_writeable_reg,