aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/xlnx-zynqmp-crf.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/xlnx-zynqmp-crf.c')
-rw-r--r--hw/misc/xlnx-zynqmp-crf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/xlnx-zynqmp-crf.c b/hw/misc/xlnx-zynqmp-crf.c
index 57bc8cf49a..a83efb44e3 100644
--- a/hw/misc/xlnx-zynqmp-crf.c
+++ b/hw/misc/xlnx-zynqmp-crf.c
@@ -233,7 +233,7 @@ static const VMStateDescription vmstate_crf = {
.name = TYPE_XLNX_ZYNQMP_CRF,
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32_ARRAY(regs, XlnxZynqMPCRF, CRF_R_MAX),
VMSTATE_END_OF_LIST(),
}