aboutsummaryrefslogtreecommitdiff
path: root/hw/char/xilinx_uartlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/xilinx_uartlite.c')
-rw-r--r--hw/char/xilinx_uartlite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/char/xilinx_uartlite.c b/hw/char/xilinx_uartlite.c
index f7c3cae2fa..cb546848bb 100644
--- a/hw/char/xilinx_uartlite.c
+++ b/hw/char/xilinx_uartlite.c
@@ -205,6 +205,7 @@ static void xilinx_uartlite_realize(DeviceState *dev, Error **errp)
{
XilinxUARTLite *s = XILINX_UARTLITE(dev);
+ /* FIXME use a qdev chardev prop instead of qemu_char_get_next_serial() */
s->chr = qemu_char_get_next_serial();
if (s->chr)
qemu_chr_add_handlers(s->chr, uart_can_rx, uart_rx, uart_event, s);