diff options
Diffstat (limited to 'hw/rtc/m48t59.c')
-rw-r--r-- | hw/rtc/m48t59.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/m48t59.c b/hw/rtc/m48t59.c index fc592b9fb1..1269134bcb 100644 --- a/hw/rtc/m48t59.c +++ b/hw/rtc/m48t59.c @@ -667,7 +667,7 @@ static void m48txx_sysbus_class_init(ObjectClass *klass, void *data) dc->realize = m48t59_realize; dc->reset = m48t59_reset_sysbus; - dc->props = m48t59_sysbus_properties; + device_class_set_props(dc, m48t59_sysbus_properties); dc->vmsd = &vmstate_m48t59; nc->read = m48txx_sysbus_read; nc->write = m48txx_sysbus_write; |