diff options
Diffstat (limited to 'hw/timer/altera_timer.c')
-rw-r--r-- | hw/timer/altera_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/altera_timer.c b/hw/timer/altera_timer.c index 79fc381252..be81b7a518 100644 --- a/hw/timer/altera_timer.c +++ b/hw/timer/altera_timer.c @@ -224,7 +224,7 @@ static void altera_timer_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->realize = altera_timer_realize; - dc->props = altera_timer_properties; + device_class_set_props(dc, altera_timer_properties); dc->reset = altera_timer_reset; } |