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/slavio_intctl.c | |
parent | 3f7f1c8067157e06fd468f09d050803c11d4ae53 (diff) | |
download | qemu-750ecd444ff7e4e27928d65164228b3e1ae5a95b.tar.gz qemu-750ecd444ff7e4e27928d65164228b3e1ae5a95b.tar.bz2 qemu-750ecd444ff7e4e27928d65164228b3e1ae5a95b.zip |
sysbus: rename sysbus_init_mmio_region() to sysbus_init_mmio()
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/slavio_intctl.c')
-rw-r--r-- | hw/slavio_intctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/slavio_intctl.c b/hw/slavio_intctl.c index e7812ed3dd..9925e6460b 100644 --- a/hw/slavio_intctl.c +++ b/hw/slavio_intctl.c @@ -428,7 +428,7 @@ static int slavio_intctl_init1(SysBusDevice *dev) qdev_init_gpio_in(&dev->qdev, slavio_set_irq_all, 32 + MAX_CPUS); memory_region_init_io(&s->iomem, &slavio_intctlm_mem_ops, s, "master-interrupt-controller", INTCTLM_SIZE); - sysbus_init_mmio_region(dev, &s->iomem); + sysbus_init_mmio(dev, &s->iomem); for (i = 0; i < MAX_CPUS; i++) { snprintf(slave_name, sizeof(slave_name), @@ -438,7 +438,7 @@ static int slavio_intctl_init1(SysBusDevice *dev) } memory_region_init_io(&s->slaves[i].iomem, &slavio_intctl_mem_ops, &s->slaves[i], slave_name, INTCTL_SIZE); - sysbus_init_mmio_region(dev, &s->slaves[i].iomem); + sysbus_init_mmio(dev, &s->slaves[i].iomem); s->slaves[i].cpu = i; s->slaves[i].master = s; } |