aboutsummaryrefslogtreecommitdiff
path: root/hw/omap_uart.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/omap_uart.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/omap_uart.c')
-rw-r--r--hw/omap_uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/omap_uart.c b/hw/omap_uart.c
index 66696ab865..b43f04c5ce 100644
--- a/hw/omap_uart.c
+++ b/hw/omap_uart.c
@@ -61,7 +61,7 @@ struct omap_uart_s *omap_uart_init(target_phys_addr_t base,
s->fclk = fclk;
s->irq = irq;
s->serial = serial_mm_init(base, 2, irq, omap_clk_getrate(fclk)/16,
- chr ?: qemu_chr_new(label, "null", NULL), 1,
+ chr ?: qemu_chr_new(label, "null", NULL),
DEVICE_NATIVE_ENDIAN);
return s;
}
@@ -178,6 +178,6 @@ void omap_uart_attach(struct omap_uart_s *s, CharDriverState *chr)
/* TODO: Should reuse or destroy current s->serial */
s->serial = serial_mm_init(s->base, 2, s->irq,
omap_clk_getrate(s->fclk) / 16,
- chr ?: qemu_chr_new("null", "null", NULL), 1,
+ chr ?: qemu_chr_new("null", "null", NULL),
DEVICE_NATIVE_ENDIAN);
}