From 750ecd444ff7e4e27928d65164228b3e1ae5a95b Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 27 Nov 2011 11:38:10 +0200 Subject: sysbus: rename sysbus_init_mmio_region() to sysbus_init_mmio() Signed-off-by: Avi Kivity --- hw/tusb6010.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/tusb6010.c') diff --git a/hw/tusb6010.c b/hw/tusb6010.c index ce7c81f8f2..276300a302 100644 --- a/hw/tusb6010.c +++ b/hw/tusb6010.c @@ -781,8 +781,8 @@ static int tusb6010_init(SysBusDevice *dev) s->pwr_timer = qemu_new_timer_ns(vm_clock, tusb_power_tick, s); memory_region_init_io(&s->iomem[1], &tusb_async_ops, s, "tusb-async", UINT32_MAX); - sysbus_init_mmio_region(dev, &s->iomem[0]); - sysbus_init_mmio_region(dev, &s->iomem[1]); + sysbus_init_mmio(dev, &s->iomem[0]); + sysbus_init_mmio(dev, &s->iomem[1]); sysbus_init_irq(dev, &s->irq); qdev_init_gpio_in(&dev->qdev, tusb6010_irq, musb_irq_max + 1); s->musb = musb_init(&dev->qdev, 1); -- cgit v1.2.3