]> Git Repo - qemu.git/blobdiff - hw/char/lm32_juart.c
terminal3270: do not use backend timer sources
[qemu.git] / hw / char / lm32_juart.c
index 6b0633e518dce169992641770a65148e3228aaee..d75c835ad22a8e5b0264f9e0b254b9de5433a0bd 100644 (file)
@@ -21,7 +21,7 @@
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "trace.h"
-#include "chardev/char.h"
+#include "chardev/char-fe.h"
 
 #include "hw/char/lm32_juart.h"
 
@@ -119,7 +119,7 @@ static void lm32_juart_realize(DeviceState *dev, Error **errp)
     LM32JuartState *s = LM32_JUART(dev);
 
     qemu_chr_fe_set_handlers(&s->chr, juart_can_rx, juart_rx,
-                             juart_event, s, NULL, true);
+                             juart_event, NULL, s, NULL, true);
 }
 
 static const VMStateDescription vmstate_lm32_juart = {
This page took 0.022401 seconds and 4 git commands to generate.