diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-22 15:29:25 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-03 10:41:08 -0600 |
commit | 0beb4942071e385c16deba03848898865842edc7 (patch) | |
tree | ec52218b7cfa3db09db0afc8317a0cc1d4e5ebaf /hw/pl011.c | |
parent | ee46d8a5038d06babb6cfb0a177727d85df9b3fc (diff) | |
download | qemu-0beb4942071e385c16deba03848898865842edc7.zip qemu-0beb4942071e385c16deba03848898865842edc7.tar.gz qemu-0beb4942071e385c16deba03848898865842edc7.tar.bz2 |
qdev: nuke qdev_init_chardev()
I'm sure the intentions were good here, but there's no reason this should be in
qdev. Move it to qemu-char where it belongs.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pl011.c')
-rw-r--r-- | hw/pl011.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -264,7 +264,7 @@ static int pl011_init(SysBusDevice *dev, const unsigned char *id) sysbus_init_mmio(dev, &s->iomem); sysbus_init_irq(dev, &s->irq); s->id = id; - s->chr = qdev_init_chardev(&dev->qdev); + s->chr = qemu_char_get_next_serial(); s->read_trigger = 1; s->ifl = 0x12; |