aboutsummaryrefslogtreecommitdiff
path: root/include/hw/char/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/char/serial.h')
-rw-r--r--include/hw/char/serial.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h
index 4f3b73c453..c3312fb9a6 100644
--- a/include/hw/char/serial.h
+++ b/include/hw/char/serial.h
@@ -30,6 +30,7 @@
#include "sysemu/sysemu.h"
#include "exec/memory.h"
#include "qemu/fifo8.h"
+#include "sysemu/char.h"
#define UART_FIFO_LENGTH 16 /* 16550A Fifo Length */
@@ -52,7 +53,7 @@ struct SerialState {
it can be reset while reading iir */
int thr_ipending;
qemu_irq irq;
- CharDriverState *chr;
+ CharBackend chr;
int last_break_enable;
int it_shift;
int baudbase;