]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/net/can/can_mioe3680_pci.c
hw/net: Constify VMState
[thirdparty/qemu.git] / hw / net / can / can_mioe3680_pci.c
index b9918773b3fec41005c1b4a5e06bd1f1fe6aceb1..308b17e0c00f330894b5351af9359c0b22df6ee6 100644 (file)
@@ -203,7 +203,7 @@ static const VMStateDescription vmstate_mioe3680_pci = {
     .name = "mioe3680_pci",
     .version_id = 1,
     .minimum_version_id = 1,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_PCI_DEVICE(dev, Mioe3680PCIState),
         VMSTATE_STRUCT(sja_state[0], Mioe3680PCIState, 0, vmstate_can_sja,
                        CanSJA1000State),