aboutsummaryrefslogtreecommitdiff
path: root/hw/char/sclpconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/sclpconsole.c')
-rw-r--r--hw/char/sclpconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/sclpconsole.c b/hw/char/sclpconsole.c
index 5d630b04bb..e6d49e819e 100644
--- a/hw/char/sclpconsole.c
+++ b/hw/char/sclpconsole.c
@@ -262,7 +262,7 @@ static void console_class_init(ObjectClass *klass, void *data)
SCLPEventClass *ec = SCLP_EVENT_CLASS(klass);
device_class_set_props(dc, console_properties);
- dc->reset = console_reset;
+ device_class_set_legacy_reset(dc, console_reset);
dc->vmsd = &vmstate_sclpconsole;
ec->init = console_init;
ec->get_send_mask = send_mask;