aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-04-27 22:18:50 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-29 08:27:49 -0500
commiteeceb0849de2126185cf71860a449667fac2f0d7 (patch)
treeca82931ab1d87418281288ef1f2ed191e2065139 /include
parent399f05a6e181c07611a93ac73025605cf24c4a6c (diff)
serial: QOM'ify ISA serial
Introduce type constant and cast macro to obsolete DO_UPCAST(). Prepares for ISA realizefn. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Message-id: 1367093935-29091-16-git-send-email-afaerber@suse.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/char/serial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h
index e884499607..bca79f17b5 100644
--- a/include/hw/char/serial.h
+++ b/include/hw/char/serial.h
@@ -96,6 +96,7 @@ SerialState *serial_mm_init(MemoryRegion *address_space,
CharDriverState *chr, enum device_endian end);
/* serial-isa.c */
+#define TYPE_ISA_SERIAL "isa-serial"
bool serial_isa_init(ISABus *bus, int index, CharDriverState *chr);
#endif