diff options
Diffstat (limited to 'hw/intc/heathrow_pic.c')
-rw-r--r-- | hw/intc/heathrow_pic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/heathrow_pic.c b/hw/intc/heathrow_pic.c index c2946ba..447e8c2 100644 --- a/hw/intc/heathrow_pic.c +++ b/hw/intc/heathrow_pic.c @@ -184,11 +184,11 @@ static void heathrow_init(Object *obj) sysbus_init_mmio(sbd, &s->mem); } -static void heathrow_class_init(ObjectClass *oc, void *data) +static void heathrow_class_init(ObjectClass *oc, const void *data) { DeviceClass *dc = DEVICE_CLASS(oc); - dc->reset = heathrow_reset; + device_class_set_legacy_reset(dc, heathrow_reset); dc->vmsd = &vmstate_heathrow; set_bit(DEVICE_CATEGORY_MISC, dc->categories); } |