diff options
author | Avi Kivity <avi@redhat.com> | 2011-11-27 11:38:10 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-28 15:38:45 +0200 |
commit | 750ecd444ff7e4e27928d65164228b3e1ae5a95b (patch) | |
tree | 6334f0edc1744e8e2fb78965d6c855bcae165b9c /hw/stellaris.c | |
parent | 3f7f1c8067157e06fd468f09d050803c11d4ae53 (diff) |
sysbus: rename sysbus_init_mmio_region() to sysbus_init_mmio()
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/stellaris.c')
-rw-r--r-- | hw/stellaris.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c index 2ab7ec7fab..ce62a98158 100644 --- a/hw/stellaris.c +++ b/hw/stellaris.c @@ -309,7 +309,7 @@ static int stellaris_gptm_init(SysBusDevice *dev) memory_region_init_io(&s->iomem, &gptm_ops, s, "gptm", 0x1000); - sysbus_init_mmio_region(dev, &s->iomem); + sysbus_init_mmio(dev, &s->iomem); s->opaque[0] = s->opaque[1] = s; s->timer[0] = qemu_new_timer_ns(vm_clock, gptm_tick, &s->opaque[0]); @@ -863,7 +863,7 @@ static int stellaris_i2c_init(SysBusDevice * dev) memory_region_init_io(&s->iomem, &stellaris_i2c_ops, s, "i2c", 0x1000); - sysbus_init_mmio_region(dev, &s->iomem); + sysbus_init_mmio(dev, &s->iomem); /* ??? For now we only implement the master interface. */ stellaris_i2c_reset(s); vmstate_register(&dev->qdev, -1, &vmstate_stellaris_i2c, s); @@ -1146,7 +1146,7 @@ static int stellaris_adc_init(SysBusDevice *dev) memory_region_init_io(&s->iomem, &stellaris_adc_ops, s, "adc", 0x1000); - sysbus_init_mmio_region(dev, &s->iomem); + sysbus_init_mmio(dev, &s->iomem); stellaris_adc_reset(s); qdev_init_gpio_in(&dev->qdev, stellaris_adc_trigger, 1); vmstate_register(&dev->qdev, -1, &vmstate_stellaris_adc, s); |