aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/mss-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/mss-timer.c')
-rw-r--r--hw/timer/mss-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/mss-timer.c b/hw/timer/mss-timer.c
index b1c9a80501..29943fd744 100644
--- a/hw/timer/mss-timer.c
+++ b/hw/timer/mss-timer.c
@@ -278,7 +278,7 @@ static void mss_timer_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->props = mss_timer_properties;
+ device_class_set_props(dc, mss_timer_properties);
dc->vmsd = &vmstate_mss_timer;
}