From: Richard Henderson Date: Fri, 13 Dec 2024 14:50:36 +0000 (+0000) Subject: target/sparc: Constify all Property and PropertyInfo X-Git-Tag: v10.0.0-rc0~117^2~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3834cc6f8fa5c3d8e82e9790fef66b94f3e97e5d;p=thirdparty%2Fqemu.git target/sparc: Constify all Property and PropertyInfo Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index 284df950e07..8f494c286ae 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -874,14 +874,14 @@ static void sparc_set_nwindows(Object *obj, Visitor *v, const char *name, cpu->env.def.nwindows = value; } -static PropertyInfo qdev_prop_nwindows = { +static const PropertyInfo qdev_prop_nwindows = { .name = "int", .get = sparc_get_nwindows, .set = sparc_set_nwindows, }; /* This must match feature_name[]. */ -static Property sparc_cpu_properties[] = { +static const Property sparc_cpu_properties[] = { DEFINE_PROP_BIT("float128", SPARCCPU, env.def.features, CPU_FEATURE_BIT_FLOAT128, false), #ifdef TARGET_SPARC64