diff options
Diffstat (limited to 'hw/intc/pl190.c')
-rw-r--r-- | hw/intc/pl190.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/pl190.c b/hw/intc/pl190.c index d79e5d8..838c21c 100644 --- a/hw/intc/pl190.c +++ b/hw/intc/pl190.c @@ -273,11 +273,11 @@ static const VMStateDescription vmstate_pl190 = { } }; -static void pl190_class_init(ObjectClass *klass, void *data) +static void pl190_class_init(ObjectClass *klass, const void *data) { DeviceClass *dc = DEVICE_CLASS(klass); - dc->reset = pl190_reset; + device_class_set_legacy_reset(dc, pl190_reset); dc->vmsd = &vmstate_pl190; } |