[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 36/71] hw/m68k: Constify all Property
From: |
Richard Henderson |
Subject: |
[PATCH 36/71] hw/m68k: Constify all Property |
Date: |
Fri, 13 Dec 2024 13:07:10 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/m68k/mcf5206.c | 2 +-
hw/m68k/mcf_intc.c | 2 +-
hw/m68k/next-cube.c | 2 +-
hw/m68k/q800-glue.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/m68k/mcf5206.c b/hw/m68k/mcf5206.c
index 7247cdbe5e..45e5f74600 100644
--- a/hw/m68k/mcf5206.c
+++ b/hw/m68k/mcf5206.c
@@ -600,7 +600,7 @@ static void mcf5206_mbar_realize(DeviceState *dev, Error
**errp)
s->uart[1] = mcf_uart_create(s->pic[13], serial_hd(1));
}
-static Property mcf5206_mbar_properties[] = {
+static const Property mcf5206_mbar_properties[] = {
DEFINE_PROP_LINK("m68k-cpu", m5206_mbar_state, cpu,
TYPE_M68K_CPU, M68kCPU *),
DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/m68k/mcf_intc.c b/hw/m68k/mcf_intc.c
index 9fc30b03ba..c24b0b715d 100644
--- a/hw/m68k/mcf_intc.c
+++ b/hw/m68k/mcf_intc.c
@@ -177,7 +177,7 @@ static void mcf_intc_instance_init(Object *obj)
sysbus_init_mmio(SYS_BUS_DEVICE(obj), &s->iomem);
}
-static Property mcf_intc_properties[] = {
+static const Property mcf_intc_properties[] = {
DEFINE_PROP_LINK("m68k-cpu", mcf_intc_state, cpu,
TYPE_M68K_CPU, M68kCPU *),
DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c
index 08886d432c..a37ce00874 100644
--- a/hw/m68k/next-cube.c
+++ b/hw/m68k/next-cube.c
@@ -914,7 +914,7 @@ static void next_pc_realize(DeviceState *dev, Error **errp)
* this cpu link property and could instead provide outbound IRQ lines
* that the board could wire up to the CPU.
*/
-static Property next_pc_properties[] = {
+static const Property next_pc_properties[] = {
DEFINE_PROP_LINK("cpu", NeXTPC, cpu, TYPE_M68K_CPU, M68kCPU *),
DEFINE_PROP_END_OF_LIST(),
};
diff --git a/hw/m68k/q800-glue.c b/hw/m68k/q800-glue.c
index e2ae7c3201..0d8cb8b1cb 100644
--- a/hw/m68k/q800-glue.c
+++ b/hw/m68k/q800-glue.c
@@ -203,7 +203,7 @@ static const VMStateDescription vmstate_glue = {
* this cpu link property and could instead provide outbound IRQ lines
* that the board could wire up to the CPU.
*/
-static Property glue_properties[] = {
+static const Property glue_properties[] = {
DEFINE_PROP_LINK("cpu", GLUEState, cpu, TYPE_M68K_CPU, M68kCPU *),
DEFINE_PROP_END_OF_LIST(),
};
--
2.43.0
- [PATCH 32/71] hw/intc: 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, 2024/12/13
- [PATCH 36/71] hw/m68k: Constify all Property,
Richard Henderson <=
- [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
- [PATCH 43/71] hw/nvme: Constify all Property, Richard Henderson, 2024/12/13