diff options
Diffstat (limited to 'hw/char/nrf51_uart.c')
-rw-r--r-- | hw/char/nrf51_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/nrf51_uart.c b/hw/char/nrf51_uart.c index b67fd21089..d1fef77acd 100644 --- a/hw/char/nrf51_uart.c +++ b/hw/char/nrf51_uart.c @@ -314,7 +314,7 @@ static void nrf51_uart_class_init(ObjectClass *klass, void *data) dc->reset = nrf51_uart_reset; dc->realize = nrf51_uart_realize; - dc->props = nrf51_uart_properties; + device_class_set_props(dc, nrf51_uart_properties); dc->vmsd = &nrf51_uart_vmstate; } |