aboutsummaryrefslogtreecommitdiff
path: root/hw/char/renesas_sci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/renesas_sci.c')
-rw-r--r--hw/char/renesas_sci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/renesas_sci.c b/hw/char/renesas_sci.c
index 5cb7335..7ce0408 100644
--- a/hw/char/renesas_sci.c
+++ b/hw/char/renesas_sci.c
@@ -331,7 +331,7 @@ static void rsci_class_init(ObjectClass *klass, void *data)
dc->realize = rsci_realize;
dc->vmsd = &vmstate_rsci;
- dc->reset = rsci_reset;
+ device_class_set_legacy_reset(dc, rsci_reset);
device_class_set_props(dc, rsci_properties);
}