aboutsummaryrefslogtreecommitdiff
path: root/hw/char/ibex_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/ibex_uart.c')
-rw-r--r--hw/char/ibex_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/ibex_uart.c b/hw/char/ibex_uart.c
index 63aae6d..589177f 100644
--- a/hw/char/ibex_uart.c
+++ b/hw/char/ibex_uart.c
@@ -547,7 +547,7 @@ static void ibex_uart_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = ibex_uart_reset;
+ device_class_set_legacy_reset(dc, ibex_uart_reset);
dc->realize = ibex_uart_realize;
dc->vmsd = &vmstate_ibex_uart;
device_class_set_props(dc, ibex_uart_properties);