aboutsummaryrefslogtreecommitdiff
path: root/hw/m68k/mcf_intc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/m68k/mcf_intc.c')
-rw-r--r--hw/m68k/mcf_intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/mcf_intc.c b/hw/m68k/mcf_intc.c
index 1d3b34e..9fc30b0 100644
--- a/hw/m68k/mcf_intc.c
+++ b/hw/m68k/mcf_intc.c
@@ -189,7 +189,7 @@ static void mcf_intc_class_init(ObjectClass *oc, void *data)
device_class_set_props(dc, mcf_intc_properties);
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
- dc->reset = mcf_intc_reset;
+ device_class_set_legacy_reset(dc, mcf_intc_reset);
}
static const TypeInfo mcf_intc_gate_info = {