aboutsummaryrefslogtreecommitdiff
path: root/include/hw/char/cadence_uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/char/cadence_uart.h')
-rw-r--r--include/hw/char/cadence_uart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/char/cadence_uart.h b/include/hw/char/cadence_uart.h
index ca75eb5e32..c836db4b74 100644
--- a/include/hw/char/cadence_uart.h
+++ b/include/hw/char/cadence_uart.h
@@ -51,7 +51,7 @@ typedef struct {
static inline DeviceState *cadence_uart_create(hwaddr addr,
qemu_irq irq,
- CharDriverState *chr)
+ Chardev *chr)
{
DeviceState *dev;
SysBusDevice *s;