diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:21:28 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:54:40 -0600 |
| commit | 312f37d18ad53e2e62fdd2dda7c38322866d77f1 (patch) | |
| tree | d3d293b519833462940f427f97b3ed97a6ca7558 /hw/char/serial-pci-multi.c | |
| parent | 4aef8b63e48ce459870c5ed78e86c0eaa331edac (diff) | |
| download | focaccia-qemu-312f37d18ad53e2e62fdd2dda7c38322866d77f1.tar.gz focaccia-qemu-312f37d18ad53e2e62fdd2dda7c38322866d77f1.zip | |
hw/char: Constify all Property
Acked-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/char/serial-pci-multi.c')
| -rw-r--r-- | hw/char/serial-pci-multi.c | 4 |
1 files changed, 2 insertions, 2 deletions
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), |