aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/a9gtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/a9gtimer.c')
-rw-r--r--hw/timer/a9gtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/a9gtimer.c b/hw/timer/a9gtimer.c
index 4c634c83b1..7233068a37 100644
--- a/hw/timer/a9gtimer.c
+++ b/hw/timer/a9gtimer.c
@@ -359,7 +359,7 @@ static void a9_gtimer_class_init(ObjectClass *klass, void *data)
dc->realize = a9_gtimer_realize;
dc->vmsd = &vmstate_a9_gtimer;
dc->reset = a9_gtimer_reset;
- dc->props = a9_gtimer_properties;
+ device_class_set_props(dc, a9_gtimer_properties);
}
static const TypeInfo a9_gtimer_info = {