target/sparc: Constify SPARCCPUClass::cpu_def

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250210133134.90879-3-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2025-02-09 22:11:38 +01:00
parent 0048035a87
commit 1e6fbd637b

View file

@ -574,7 +574,7 @@ struct SPARCCPUClass {
DeviceRealize parent_realize;
ResettablePhases parent_phases;
sparc_def_t *cpu_def;
const sparc_def_t *cpu_def;
};
#ifndef CONFIG_USER_ONLY