diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:39 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | 3abedf29b4f0b8e523db91aeb38438e4819bae6f (patch) | |
tree | b33939a8177c27d036ba3ddd4c672c6fa508ccb6 /hw/usb/xlnx-versal-usb2-ctrl-regs.c | |
parent | 5e6aceb2dd69200c4a5ae900d5ddbcf3462973d6 (diff) | |
download | qemu-3abedf29b4f0b8e523db91aeb38438e4819bae6f.zip qemu-3abedf29b4f0b8e523db91aeb38438e4819bae6f.tar.gz qemu-3abedf29b4f0b8e523db91aeb38438e4819bae6f.tar.bz2 |
hw/usb: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-59-richard.henderson@linaro.org>
Diffstat (limited to 'hw/usb/xlnx-versal-usb2-ctrl-regs.c')
-rw-r--r-- | hw/usb/xlnx-versal-usb2-ctrl-regs.c | 2 |
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 1c094aa..6fc4538 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(), } |