[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 42/71] hw/nubus: Constify all Property
From: |
Richard Henderson |
Subject: |
[PATCH 42/71] hw/nubus: Constify all Property |
Date: |
Fri, 13 Dec 2024 13:07:16 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/nubus/nubus-bridge.c | 2 +-
hw/nubus/nubus-device.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/nubus/nubus-bridge.c b/hw/nubus/nubus-bridge.c
index a42c86080f..83893e5a46 100644
--- a/hw/nubus/nubus-bridge.c
+++ b/hw/nubus/nubus-bridge.c
@@ -23,7 +23,7 @@ static void nubus_bridge_init(Object *obj)
qdev_init_gpio_out(DEVICE(s), bus->irqs, NUBUS_IRQS);
}
-static Property nubus_bridge_properties[] = {
+static const Property nubus_bridge_properties[] = {
DEFINE_PROP_UINT16("slot-available-mask", NubusBridge,
bus.slot_available_mask, 0xffff),
DEFINE_PROP_END_OF_LIST()
diff --git a/hw/nubus/nubus-device.c b/hw/nubus/nubus-device.c
index 26fbcf29a2..7cafc13427 100644
--- a/hw/nubus/nubus-device.c
+++ b/hw/nubus/nubus-device.c
@@ -107,7 +107,7 @@ static void nubus_device_realize(DeviceState *dev, Error
**errp)
}
}
-static Property nubus_device_properties[] = {
+static const Property nubus_device_properties[] = {
DEFINE_PROP_INT32("slot", NubusDevice, slot, -1),
DEFINE_PROP_STRING("romfile", NubusDevice, romfile),
DEFINE_PROP_END_OF_LIST()
--
2.43.0
- Re: [PATCH 35/71] hw/isa: Constify all Property, (continued)
- [PATCH 38/71] hw/mips: Constify all Property, Richard Henderson, 2024/12/13
- [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 <=
- [PATCH 43/71] hw/nvme: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 45/71] hw/pci-bridge: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 47/71] hw/pci-host: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 44/71] hw/nvram: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 49/71] hw/ppc: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 46/71] hw/pci-host/astro: Remove empty Property list, Richard Henderson, 2024/12/13
- [PATCH 55/71] hw/scsi: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 59/71] hw/ssi: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 60/71] hw/timer: Constify all Property, Richard Henderson, 2024/12/13