From 312f37d18ad53e2e62fdd2dda7c38322866d77f1 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 13 Dec 2024 15:21:28 +0000 Subject: hw/char: Constify all Property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Acked-by: Alberto Garcia Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- hw/char/serial-pci-multi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/char/serial-pci-multi.c') diff --git a/hw/char/serial-pci-multi.c b/hw/char/serial-pci-multi.c index 28b275709a..c2f20d8e74 100644 --- a/hw/char/serial-pci-multi.c +++ b/hw/char/serial-pci-multi.c @@ -132,14 +132,14 @@ static const VMStateDescription vmstate_pci_multi_serial = { } }; -static Property multi_2x_serial_pci_properties[] = { +static const Property multi_2x_serial_pci_properties[] = { DEFINE_PROP_CHR("chardev1", PCIMultiSerialState, state[0].chr), DEFINE_PROP_CHR("chardev2", PCIMultiSerialState, state[1].chr), DEFINE_PROP_UINT8("prog_if", PCIMultiSerialState, prog_if, 0x02), DEFINE_PROP_END_OF_LIST(), }; -static Property multi_4x_serial_pci_properties[] = { +static const Property multi_4x_serial_pci_properties[] = { DEFINE_PROP_CHR("chardev1", PCIMultiSerialState, state[0].chr), DEFINE_PROP_CHR("chardev2", PCIMultiSerialState, state[1].chr), DEFINE_PROP_CHR("chardev3", PCIMultiSerialState, state[2].chr), -- cgit 1.4.1