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/pcnet-pci.c | |
parent | e4ea952fb0180e85655e9a93d39a1ad9442f76f2 (diff) |
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/pcnet-pci.c')
-rw-r--r-- | hw/net/pcnet-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/pcnet-pci.c b/hw/net/pcnet-pci.c index 96a302c141..fe1a845b2b 100644 --- a/hw/net/pcnet-pci.c +++ b/hw/net/pcnet-pci.c @@ -147,7 +147,7 @@ static const VMStateDescription vmstate_pci_pcnet = { .name = "pcnet", .version_id = 3, .minimum_version_id = 2, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_PCI_DEVICE(parent_obj, PCIPCNetState), VMSTATE_STRUCT(state, PCIPCNetState, 0, vmstate_pcnet, PCNetState), VMSTATE_END_OF_LIST() |