mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 17:12:50 -04:00
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>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
b1de9823fd
commit
a01c4cd7e2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user