diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:49:26 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:56:19 -0600 |
commit | 4aa3a8a89af9fced00269d5781c78e23f79a333b (patch) | |
tree | 13ffcfca8cf5516e4dd83e99e8dda2d32ade9ecd | |
parent | d2616fe9616c1fd34e36c4b95c7657695f5e8a83 (diff) | |
download | qemu-4aa3a8a89af9fced00269d5781c78e23f79a333b.zip qemu-4aa3a8a89af9fced00269d5781c78e23f79a333b.tar.gz qemu-4aa3a8a89af9fced00269d5781c78e23f79a333b.tar.bz2 |
hw/sparc64: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | hw/sparc64/sun4u.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index 541c7f7..7088ac2 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(), @@ -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(), }; |