diff options
Diffstat (limited to 'hw/nvram/ds1225y.c')
-rw-r--r-- | hw/nvram/ds1225y.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nvram/ds1225y.c b/hw/nvram/ds1225y.c index 934e09b..d5cb922 100644 --- a/hw/nvram/ds1225y.c +++ b/hw/nvram/ds1225y.c @@ -153,7 +153,7 @@ static void nvram_sysbus_class_init(ObjectClass *klass, void *data) dc->realize = nvram_sysbus_realize; dc->vmsd = &vmstate_nvram; - dc->props = nvram_sysbus_properties; + device_class_set_props(dc, nvram_sysbus_properties); } static const TypeInfo nvram_sysbus_info = { |