From: Richard Henderson Date: Fri, 13 Dec 2024 14:48:37 +0000 (+0000) Subject: target/riscv: Constify all Property X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f3ef448ac535cde957b00f0b4468dd259138bac7;p=qemu.git target/riscv: Constify all Property Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Daniel Henrique Barboza Signed-off-by: Richard Henderson --- diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index 80b09952e7..4329015076 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -2661,7 +2661,7 @@ RISCVCPUImpliedExtsRule *riscv_multi_ext_implied_rules[] = { NULL }; -static Property riscv_cpu_properties[] = { +static const Property riscv_cpu_properties[] = { DEFINE_PROP_BOOL("debug", RISCVCPU, cfg.debug, true), {.name = "pmu-mask", .info = &prop_pmu_mask},