summary refs log tree commit diff stats
path: root/hw/char/omap_uart.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-10-23 17:50:06 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2020-01-07 17:23:30 +0400
commit490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68 (patch)
tree43f06f0768176835bf5eff8911687c9721e3fb1e /hw/char/omap_uart.c
parentb9975000a008c5b0801e3d24ed113a1bd2767ed5 (diff)
downloadfocaccia-qemu-490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68.tar.gz
focaccia-qemu-490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68.zip
serial: start making SerialMM a sysbus device
Memory mapped serial device is in fact a sysbus device. The following
patches will make use of sysbus facilities for resource and
registration. In particular, "serial-mm: use sysbus facilities" will
move internal serial realization to serial_mm_realize callback to
follow qdev best practices.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/char/omap_uart.c')
-rw-r--r--hw/char/omap_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/omap_uart.c b/hw/char/omap_uart.c
index 13e4f43c4c..e8da933378 100644
--- a/hw/char/omap_uart.c
+++ b/hw/char/omap_uart.c
@@ -27,7 +27,7 @@
 struct omap_uart_s {
     MemoryRegion iomem;
     hwaddr base;
-    SerialState *serial; /* TODO */
+    SerialMM *serial; /* TODO */
     struct omap_target_agent_s *ta;
     omap_clk fclk;
     qemu_irq irq;