diff options
author | xiaoqiang zhao <zxq_yx_007@163.com> | 2016-05-25 14:39:04 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-29 09:11:10 +0200 |
commit | e269fbe23163661c3147dee04c01bbb3b2550d42 (patch) | |
tree | 0fb03aedf27a49ca91a553169694c961f9df8eb9 /hw/lm32/milkymist.c | |
parent | 7aaefcaf6628de1e25eb59a7790a0ae0f9a628f6 (diff) |
hw/char: QOM'ify milkymist-uart.c
drop the qemu_char_get_next_serial and use chardev prop instead
Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Message-Id: <1464158344-12266-6-git-send-email-zxq_yx_007@163.com>
Tested-by: Michael Walle <michael@walle.cc>
Acked-by: Michael Walle <michael@walle.cc>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/lm32/milkymist.c')
-rw-r--r-- | hw/lm32/milkymist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lm32/milkymist.c b/hw/lm32/milkymist.c index ebd8a3c124..5cae0f19dd 100644 --- a/hw/lm32/milkymist.c +++ b/hw/lm32/milkymist.c @@ -159,7 +159,7 @@ milkymist_init(MachineState *machine) } g_free(bios_filename); - milkymist_uart_create(0x60000000, irq[0]); + milkymist_uart_create(0x60000000, irq[0], serial_hds[0]); milkymist_sysctl_create(0x60001000, irq[1], irq[2], irq[3], 80000000, 0x10014d31, 0x0000041f, 0x00000001); milkymist_hpdmc_create(0x60002000); |