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 66c793a602..4114672d4f 100644
--- a/hw/usb/xlnx-versal-usb2-ctrl-regs.c
+++ b/hw/usb/xlnx-versal-usb2-ctrl-regs.c
@@ -202,7 +202,7 @@ static const VMStateDescription vmstate_usb2_ctrl_regs = {
     }
 };
 
-static void usb2_ctrl_regs_class_init(ObjectClass *klass, void *data)
+static void usb2_ctrl_regs_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     ResettableClass *rc = RESETTABLE_CLASS(klass);