aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/xlnx-versal-xramc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/xlnx-versal-xramc.c')
-rw-r--r--hw/misc/xlnx-versal-xramc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/xlnx-versal-xramc.c b/hw/misc/xlnx-versal-xramc.c
index e5b719a0ed..a5f78c190e 100644
--- a/hw/misc/xlnx-versal-xramc.c
+++ b/hw/misc/xlnx-versal-xramc.c
@@ -212,7 +212,7 @@ static const VMStateDescription vmstate_xram_ctrl = {
.name = TYPE_XLNX_XRAM_CTRL,
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32_ARRAY(regs, XlnxXramCtrl, XRAM_CTRL_R_MAX),
VMSTATE_END_OF_LIST(),
}