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/eccmemctl.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/eccmemctl.c')
-rw-r--r-- | hw/eccmemctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c index 56cac2540a..774346543a 100644 --- a/hw/eccmemctl.c +++ b/hw/eccmemctl.c @@ -297,12 +297,12 @@ static int ecc_init1(SysBusDevice *dev) sysbus_init_irq(dev, &s->irq); s->regs[0] = s->version; memory_region_init_io(&s->iomem, &ecc_mem_ops, s, "ecc", ECC_SIZE); - sysbus_init_mmio_region(dev, &s->iomem); + sysbus_init_mmio(dev, &s->iomem); if (s->version == ECC_MCC) { // SS-600MP only memory_region_init_io(&s->iomem_diag, &ecc_diag_mem_ops, s, "ecc.diag", ECC_DIAG_SIZE); - sysbus_init_mmio_region(dev, &s->iomem_diag); + sysbus_init_mmio(dev, &s->iomem_diag); } return 0; |