aboutsummaryrefslogtreecommitdiff
path: root/hw/char/digic-uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/digic-uart.c')
-rw-r--r--hw/char/digic-uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/digic-uart.c b/hw/char/digic-uart.c
index 033eba0a6a..e130cb4692 100644
--- a/hw/char/digic-uart.c
+++ b/hw/char/digic-uart.c
@@ -183,7 +183,7 @@ static void digic_uart_class_init(ObjectClass *klass, void *data)
dc->realize = digic_uart_realize;
dc->reset = digic_uart_reset;
dc->vmsd = &vmstate_digic_uart;
- dc->props = digic_uart_properties;
+ device_class_set_props(dc, digic_uart_properties);
}
static const TypeInfo digic_uart_info = {