summary refs log tree commit diff stats
path: root/hw/usb/xlnx-versal-usb2-ctrl-regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/xlnx-versal-usb2-ctrl-regs.c')
-rw-r--r--hw/usb/xlnx-versal-usb2-ctrl-regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/xlnx-versal-usb2-ctrl-regs.c b/hw/usb/xlnx-versal-usb2-ctrl-regs.c
index 1c094aa1a6..6fc453817e 100644
--- a/hw/usb/xlnx-versal-usb2-ctrl-regs.c
+++ b/hw/usb/xlnx-versal-usb2-ctrl-regs.c
@@ -196,7 +196,7 @@ static const VMStateDescription vmstate_usb2_ctrl_regs = {
     .name = TYPE_XILINX_VERSAL_USB2_CTRL_REGS,
     .version_id = 1,
     .minimum_version_id = 1,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_UINT32_ARRAY(regs, VersalUsb2CtrlRegs, USB2_REGS_R_MAX),
         VMSTATE_END_OF_LIST(),
     }