summaryrefslogtreecommitdiff
path: root/hw/omap_uart.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-10-17 09:54:19 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-10-22 13:26:42 -0500
commit488cb996cd8d8eaa5ecfdc6ba5f6cbd23a13271b (patch)
treed0bcd0e6a45dde53292b938829dc621b1aa30068 /hw/omap_uart.c
parentad0b5321f1f797274603ebbe20108b0750baee94 (diff)
downloadqemu-488cb996cd8d8eaa5ecfdc6ba5f6cbd23a13271b.tar.gz
serial: split serial.c
Split serial.c into serial.c, serial.h and serial-isa.c. While being at creating a serial.h header file move the serial prototypes from pc.h to the new serial.h. The latter leads to s/pc.h/serial.h/ in tons of boards which just want the serial bits from pc.h Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/omap_uart.c')
-rw-r--r--hw/omap_uart.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/omap_uart.c b/hw/omap_uart.c
index 167d5c4e50..1c16a54306 100644
--- a/hw/omap_uart.c
+++ b/hw/omap_uart.c
@@ -20,8 +20,7 @@
#include "qemu-char.h"
#include "hw.h"
#include "omap.h"
-/* We use pc-style serial ports. */
-#include "pc.h"
+#include "serial.h"
#include "exec-memory.h"
/* UARTs */