summary refs log tree commit diff stats
path: root/hw/i386/port92.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/port92.c')
-rw-r--r--hw/i386/port92.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/port92.c b/hw/i386/port92.c
index b25157f6e4..1b03b34f1d 100644
--- a/hw/i386/port92.c
+++ b/hw/i386/port92.c
@@ -102,7 +102,7 @@ static void port92_class_initfn(ObjectClass *klass, void *data)
     DeviceClass *dc = DEVICE_CLASS(klass);
 
     dc->realize = port92_realizefn;
-    dc->reset = port92_reset;
+    device_class_set_legacy_reset(dc, port92_reset);
     dc->vmsd = &vmstate_port92_isa;
     /*
      * Reason: unlike ordinary ISA devices, this one needs additional