From 1de81b426ca563303d4fd6ba5a5d44d632a44e89 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 21 Dec 2023 14:16:22 +1100 Subject: hw/net: Constify VMState Signed-off-by: Richard Henderson Message-Id: <20231221031652.119827-42-richard.henderson@linaro.org> --- hw/net/pcnet-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/net/pcnet-pci.c') diff --git a/hw/net/pcnet-pci.c b/hw/net/pcnet-pci.c index 96a302c..fe1a845 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() -- cgit v1.1