diff options
Diffstat (limited to 'hw/net/lance.c')
-rw-r--r-- | hw/net/lance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/lance.c b/hw/net/lance.c index e1ed24c..269615b 100644 --- a/hw/net/lance.c +++ b/hw/net/lance.c @@ -151,7 +151,7 @@ static void lance_class_init(ObjectClass *klass, void *data) dc->realize = lance_realize; set_bit(DEVICE_CATEGORY_NETWORK, dc->categories); dc->fw_name = "ethernet"; - dc->reset = lance_reset; + device_class_set_legacy_reset(dc, lance_reset); dc->vmsd = &vmstate_lance; device_class_set_props(dc, lance_properties); } |