diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:22 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | 1de81b426ca563303d4fd6ba5a5d44d632a44e89 (patch) | |
tree | aa58dfa1e4bb546419a9cee8e2b47f4cbc61d9ee /hw/net/tulip.c | |
parent | e4ea952fb0180e85655e9a93d39a1ad9442f76f2 (diff) | |
download | qemu-1de81b426ca563303d4fd6ba5a5d44d632a44e89.zip qemu-1de81b426ca563303d4fd6ba5a5d44d632a44e89.tar.gz qemu-1de81b426ca563303d4fd6ba5a5d44d632a44e89.tar.bz2 |
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/tulip.c')
-rw-r--r-- | hw/net/tulip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/tulip.c b/hw/net/tulip.c index 962086a..6d4fb06 100644 --- a/hw/net/tulip.c +++ b/hw/net/tulip.c @@ -48,7 +48,7 @@ struct TULIPState { static const VMStateDescription vmstate_pci_tulip = { .name = "tulip", - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_PCI_DEVICE(dev, TULIPState), VMSTATE_UINT32_ARRAY(csr, TULIPState, 16), VMSTATE_UINT32(old_csr9, TULIPState), |