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 18917d7599..f519250567 100644
--- a/hw/usb/imx-usb-phy.c
+++ b/hw/usb/imx-usb-phy.c
@@ -218,7 +218,7 @@ static void imx_usbphy_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = imx_usbphy_reset;
+ device_class_set_legacy_reset(dc, imx_usbphy_reset);
dc->vmsd = &vmstate_imx_usbphy;
dc->desc = "i.MX USB PHY Module";
dc->realize = imx_usbphy_realize;