aboutsummaryrefslogtreecommitdiff
path: root/hw/musicpal.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/musicpal.c
parentfb50cfe44dbff7be1489c5ecf5428aabd401f2e0 (diff)
downloadqemu-2ff0c7c3c2251e7e81e90c9556dda64261d033ec.zip
qemu-2ff0c7c3c2251e7e81e90c9556dda64261d033ec.tar.gz
qemu-2ff0c7c3c2251e7e81e90c9556dda64261d033ec.tar.bz2
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/musicpal.c')
-rw-r--r--hw/musicpal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/musicpal.c b/hw/musicpal.c
index e79b07e..2131db1 100644
--- a/hw/musicpal.c
+++ b/hw/musicpal.c
@@ -1487,11 +1487,11 @@ static void musicpal_init(ram_addr_t ram_size,
if (serial_hds[0]) {
serial_mm_init(MP_UART1_BASE, 2, pic[MP_UART1_IRQ], 1825000,
- serial_hds[0], 1, DEVICE_NATIVE_ENDIAN);
+ serial_hds[0], DEVICE_NATIVE_ENDIAN);
}
if (serial_hds[1]) {
serial_mm_init(MP_UART2_BASE, 2, pic[MP_UART2_IRQ], 1825000,
- serial_hds[1], 1, DEVICE_NATIVE_ENDIAN);
+ serial_hds[1], DEVICE_NATIVE_ENDIAN);
}
/* Register flash */