aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/imx-usb-phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/imx-usb-phy.c')
-rw-r--r--hw/usb/imx-usb-phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/imx-usb-phy.c b/hw/usb/imx-usb-phy.c
index 1a97b36a11..18917d7599 100644
--- a/hw/usb/imx-usb-phy.c
+++ b/hw/usb/imx-usb-phy.c
@@ -20,7 +20,7 @@ static const VMStateDescription vmstate_imx_usbphy = {
.name = TYPE_IMX_USBPHY,
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32_ARRAY(usbphy, IMXUSBPHYState, USBPHY_MAX),
VMSTATE_END_OF_LIST()
},