aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/mips_cpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/mips_cpc.c')
-rw-r--r--hw/misc/mips_cpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/mips_cpc.c b/hw/misc/mips_cpc.c
index 1e8fd2e..2f7fb81 100644
--- a/hw/misc/mips_cpc.c
+++ b/hw/misc/mips_cpc.c
@@ -174,7 +174,7 @@ static void mips_cpc_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->realize = mips_cpc_realize;
- dc->reset = mips_cpc_reset;
+ device_class_set_legacy_reset(dc, mips_cpc_reset);
dc->vmsd = &vmstate_mips_cpc;
device_class_set_props(dc, mips_cpc_properties);
}