diff options
Diffstat (limited to 'hw/net/allwinner_emac.c')
-rw-r--r-- | hw/net/allwinner_emac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/allwinner_emac.c b/hw/net/allwinner_emac.c index d40ff37e99..c104c2588e 100644 --- a/hw/net/allwinner_emac.c +++ b/hw/net/allwinner_emac.c @@ -521,7 +521,7 @@ static void aw_emac_class_init(ObjectClass *klass, void *data) dc->realize = aw_emac_realize; device_class_set_props(dc, aw_emac_properties); - dc->reset = aw_emac_reset; + device_class_set_legacy_reset(dc, aw_emac_reset); dc->vmsd = &vmstate_aw_emac; } |