aboutsummaryrefslogtreecommitdiff
path: root/hw/net/can/ctucan_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/can/ctucan_pci.c')
-rw-r--r--hw/net/can/ctucan_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/can/ctucan_pci.c b/hw/net/can/ctucan_pci.c
index ea079e2af5..d8f7344ddc 100644
--- a/hw/net/can/ctucan_pci.c
+++ b/hw/net/can/ctucan_pci.c
@@ -215,7 +215,7 @@ static const VMStateDescription vmstate_ctucan_pci = {
.name = "ctucan_pci",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_PCI_DEVICE(dev, CtuCanPCIState),
VMSTATE_STRUCT(ctucan_state[0], CtuCanPCIState, 0, vmstate_ctucan,
CtuCanCoreState),