aboutsummaryrefslogtreecommitdiff
path: root/hw/nvram/ds1225y.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/nvram/ds1225y.c')
-rw-r--r--hw/nvram/ds1225y.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nvram/ds1225y.c b/hw/nvram/ds1225y.c
index 934e09bf75..d5cb922287 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 = {