summary refs log tree commit diff stats
path: root/hw/net/eepro100.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:22 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commit1de81b426ca563303d4fd6ba5a5d44d632a44e89 (patch)
treeaa58dfa1e4bb546419a9cee8e2b47f4cbc61d9ee /hw/net/eepro100.c
parente4ea952fb0180e85655e9a93d39a1ad9442f76f2 (diff)
downloadfocaccia-qemu-1de81b426ca563303d4fd6ba5a5d44d632a44e89.tar.gz
focaccia-qemu-1de81b426ca563303d4fd6ba5a5d44d632a44e89.zip
hw/net: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-42-richard.henderson@linaro.org>
Diffstat (limited to 'hw/net/eepro100.c')
-rw-r--r--hw/net/eepro100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c
index 69e1c4bb89..d9a70c4544 100644
--- a/hw/net/eepro100.c
+++ b/hw/net/eepro100.c
@@ -1772,7 +1772,7 @@ static ssize_t nic_receive(NetClientState *nc, const uint8_t * buf, size_t size)
 static const VMStateDescription vmstate_eepro100 = {
     .version_id = 3,
     .minimum_version_id = 2,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_PCI_DEVICE(dev, EEPRO100State),
         VMSTATE_UNUSED(32),
         VMSTATE_BUFFER(mult, EEPRO100State),