summaryrefslogtreecommitdiff
path: root/hw/omap2.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-01 00:53:19 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-01 00:53:19 +0000
commit7cc0dd20e1cc43529aac51b7680be857fad90065 (patch)
tree60341f4078047b3be584f646c0747dbe40938c90 /hw/omap2.c
parentcf3ebac7c28b3a852b33ee44bc0c595e33622845 (diff)
downloadqemu-7cc0dd20e1cc43529aac51b7680be857fad90065.tar.gz
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/omap2.c')
-rw-r--r--hw/omap2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap2.c b/hw/omap2.c
index 5add05938f..495e72f453 100644
--- a/hw/omap2.c
+++ b/hw/omap2.c
@@ -2185,7 +2185,7 @@ static struct omap_sti_s *omap_sti_init(struct omap_target_agent_s *ta,
s->irq = irq;
omap_sti_reset(s);
- s->chr = chr ?: qemu_chr_open("null");
+ s->chr = chr ?: qemu_chr_open("null", "null");
iomemtype = l4_register_io_memory(0, omap_sti_readfn,
omap_sti_writefn, s);