aboutsummaryrefslogtreecommitdiff
path: root/hw/sm501.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-08-11 16:07:15 -0700
committerAvi Kivity <avi@redhat.com>2011-10-02 16:14:01 +0200
commit2ff0c7c3c2251e7e81e90c9556dda64261d033ec (patch)
tree791a469ab1711680cb100170f1b4fd76d3117353 /hw/sm501.c
parentfb50cfe44dbff7be1489c5ecf5428aabd401f2e0 (diff)
serial: Remove ioregister parameter from serial_mm_init
All callers passed 1. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/sm501.c')
-rw-r--r--hw/sm501.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sm501.c b/hw/sm501.c
index 26e2dfe807..fddf21a5fa 100644
--- a/hw/sm501.c
+++ b/hw/sm501.c
@@ -1442,7 +1442,7 @@ void sm501_init(uint32_t base, uint32_t local_mem_bytes, qemu_irq irq,
if (chr) {
serial_mm_init(base + MMIO_BASE_OFFSET + SM501_UART0, 2,
NULL, /* TODO : chain irq to IRL */
- 115200, chr, 1, DEVICE_NATIVE_ENDIAN);
+ 115200, chr, DEVICE_NATIVE_ENDIAN);
}
/* create qemu graphic console */