diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-01 00:53:19 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-01 00:53:19 +0000 |
commit | 7cc0dd20e1cc43529aac51b7680be857fad90065 (patch) | |
tree | 60341f4078047b3be584f646c0747dbe40938c90 /hw/omap1.c | |
parent | cf3ebac7c28b3a852b33ee44bc0c595e33622845 (diff) | |
download | qemu-7cc0dd20e1cc43529aac51b7680be857fad90065.zip qemu-7cc0dd20e1cc43529aac51b7680be857fad90065.tar.gz qemu-7cc0dd20e1cc43529aac51b7680be857fad90065.tar.bz2 |
Malta & OMAP: add a name to char devices
(fixes regression introduced by r5575)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5585 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap1.c')
-rw-r--r-- | hw/omap1.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2017,7 +2017,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_open("null"), 1); + chr ?: qemu_chr_open("null", "null"), 1); return s; } @@ -2128,7 +2128,7 @@ 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_open("null"), 1); + chr ?: qemu_chr_open("null", "null"), 1); } /* MPU Clock/Reset/Power Mode Control */ |