qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 58/71] hw/sparc64: Constify all Property


From: Richard Henderson
Subject: [PATCH 58/71] hw/sparc64: Constify all Property
Date: Fri, 13 Dec 2024 13:07:32 -0600

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 hw/sparc64/sun4u.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c
index 541c7f74fa..050cb1d1cd 100644
--- a/hw/sparc64/sun4u.c
+++ b/hw/sparc64/sun4u.c
@@ -374,7 +374,7 @@ static void ebus_realize(PCIDevice *pci_dev, Error **errp)
     pci_register_bar(pci_dev, 1, PCI_BASE_ADDRESS_SPACE_IO, &s->bar1);
 }
 
-static Property ebus_properties[] = {
+static const Property ebus_properties[] = {
     DEFINE_PROP_UINT64("console-serial-base", EbusState,
                        console_serial_base, 0),
     DEFINE_PROP_END_OF_LIST(),
@@ -471,7 +471,7 @@ static void prom_realize(DeviceState *ds, Error **errp)
     sysbus_init_mmio(dev, &s->prom);
 }
 
-static Property prom_properties[] = {
+static const Property prom_properties[] = {
     {/* end of property list */},
 };
 
@@ -532,7 +532,7 @@ static void ram_init(hwaddr addr, ram_addr_t RAM_size)
     sysbus_mmio_map(s, 0, addr);
 }
 
-static Property ram_properties[] = {
+static const Property ram_properties[] = {
     DEFINE_PROP_UINT64("size", RamDevice, size, 0),
     DEFINE_PROP_END_OF_LIST(),
 };
-- 
2.43.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]