diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:54:54 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:31 -0600 |
commit | ce385ef3cceeb9e6d1a80b1ef6f96133b060bd58 (patch) | |
tree | 250c51da25496d1677cfeac467b77829a93ab78b /hw | |
parent | f4f2248bbce2208c6946567c0a3155f02ff7b415 (diff) | |
download | qemu-ce385ef3cceeb9e6d1a80b1ef6f96133b060bd58.zip qemu-ce385ef3cceeb9e6d1a80b1ef6f96133b060bd58.tar.gz qemu-ce385ef3cceeb9e6d1a80b1ef6f96133b060bd58.tar.bz2 |
hw/mips: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/mips/cps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips/cps.c b/hw/mips/cps.c index 1304662..1a22086 100644 --- a/hw/mips/cps.c +++ b/hw/mips/cps.c @@ -166,7 +166,7 @@ static void mips_cps_realize(DeviceState *dev, Error **errp) sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->gcr), 0)); } -static Property mips_cps_properties[] = { +static const Property mips_cps_properties[] = { DEFINE_PROP_UINT32("num-vp", MIPSCPSState, num_vp, 1), DEFINE_PROP_UINT32("num-irq", MIPSCPSState, num_irq, 256), DEFINE_PROP_STRING("cpu-type", MIPSCPSState, cpu_type), |