diff options
Diffstat (limited to 'hw/misc/eccmemctl.c')
-rw-r--r-- | hw/misc/eccmemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/eccmemctl.c b/hw/misc/eccmemctl.c index 5a14a48..0f68fbe 100644 --- a/hw/misc/eccmemctl.c +++ b/hw/misc/eccmemctl.c @@ -335,7 +335,7 @@ static void ecc_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->realize = ecc_realize; - dc->reset = ecc_reset; + device_class_set_legacy_reset(dc, ecc_reset); dc->vmsd = &vmstate_ecc; device_class_set_props(dc, ecc_properties); } |