diff options
Diffstat (limited to 'hw/net/msf2-emac.c')
-rw-r--r-- | hw/net/msf2-emac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/msf2-emac.c b/hw/net/msf2-emac.c index c1fc10de2a..d28fc6c570 100644 --- a/hw/net/msf2-emac.c +++ b/hw/net/msf2-emac.c @@ -571,7 +571,7 @@ static void msf2_emac_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->realize = msf2_emac_realize; - dc->reset = msf2_emac_reset; + device_class_set_legacy_reset(dc, msf2_emac_reset); dc->vmsd = &vmstate_msf2_emac; device_class_set_props(dc, msf2_emac_properties); } |