aboutsummaryrefslogtreecommitdiff
path: root/hw/rtc/pl031.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/rtc/pl031.c')
-rw-r--r--hw/rtc/pl031.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/pl031.c b/hw/rtc/pl031.c
index c57cf83165..ae47f09635 100644
--- a/hw/rtc/pl031.c
+++ b/hw/rtc/pl031.c
@@ -321,7 +321,7 @@ static void pl031_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->vmsd = &vmstate_pl031;
- dc->props = pl031_properties;
+ device_class_set_props(dc, pl031_properties);
}
static const TypeInfo pl031_info = {