summary refs log tree commit diff stats
path: root/hw/usb/hcd-dwc3.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/hcd-dwc3.c')
-rw-r--r--hw/usb/hcd-dwc3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-dwc3.c b/hw/usb/hcd-dwc3.c
index 09d8e25b97..e7d8c7924b 100644
--- a/hw/usb/hcd-dwc3.c
+++ b/hw/usb/hcd-dwc3.c
@@ -666,7 +666,7 @@ static void usb_dwc3_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
 
-    dc->reset = usb_dwc3_reset;
+    device_class_set_legacy_reset(dc, usb_dwc3_reset);
     dc->realize = usb_dwc3_realize;
     dc->vmsd = &vmstate_usb_dwc3;
     device_class_set_props(dc, usb_dwc3_properties);