diff options
Diffstat (limited to 'hw/char/shakti_uart.c')
| -rw-r--r-- | hw/char/shakti_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/shakti_uart.c b/hw/char/shakti_uart.c index 98b142c7df..4a71953c9a 100644 --- a/hw/char/shakti_uart.c +++ b/hw/char/shakti_uart.c @@ -165,7 +165,7 @@ static Property shakti_uart_properties[] = { static void shakti_uart_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); - dc->reset = shakti_uart_reset; + device_class_set_legacy_reset(dc, shakti_uart_reset); dc->realize = shakti_uart_realize; device_class_set_props(dc, shakti_uart_properties); set_bit(DEVICE_CATEGORY_INPUT, dc->categories); |