summaryrefslogtreecommitdiff
path: root/hw/omap2.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:36 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:43 -0500
commit27143a445b99a283b3c6529738ba17aa0271746e (patch)
treebaa70ed7e899e1d08b9c51aeacb488fad6ef6ee3 /hw/omap2.c
parent15f31519b423747285bdc924ec4138c554076a73 (diff)
downloadqemu-27143a445b99a283b3c6529738ba17aa0271746e.tar.gz
char: rename qemu_chr_open() -> qemu_chr_new()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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 e32cd94d2c..7e5820a97b 100644
--- a/hw/omap2.c
+++ b/hw/omap2.c
@@ -782,7 +782,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", "null", NULL);
+ s->chr = chr ?: qemu_chr_new("null", "null", NULL);
iomemtype = l4_register_io_memory(omap_sti_readfn,
omap_sti_writefn, s);