[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 38/71] hw/mips: Constify all Property
From: |
Richard Henderson |
Subject: |
[PATCH 38/71] hw/mips: Constify all Property |
Date: |
Fri, 13 Dec 2024 13:07:12 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/mips/cps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/mips/cps.c b/hw/mips/cps.c
index 13046628cd..1a2208666c 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),
--
2.43.0
- Re: [PATCH 28/71] hw/i2c: Constify all Property, (continued)
- [PATCH 32/71] hw/intc: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 33/71] hw/ipack: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 34/71] hw/ipmi: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 26/71] hw/gpio: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 35/71] hw/isa: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 38/71] hw/mips: Constify all Property,
Richard Henderson <=
- [PATCH 36/71] hw/m68k: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 39/71] hw/misc/xlnx-versal-trng: Constify trng_props, Richard Henderson, 2024/12/13
- [PATCH 37/71] hw/mem: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 41/71] hw/net: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 40/71] hw/misc: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 42/71] hw/nubus: Constify all Property, Richard Henderson, 2024/12/13