aboutsummaryrefslogtreecommitdiff
path: root/hw/pl181.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl181.c')
-rw-r--r--hw/pl181.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl181.c b/hw/pl181.c
index e13ea8e..46855f6 100644
--- a/hw/pl181.c
+++ b/hw/pl181.c
@@ -453,7 +453,7 @@ static int pl181_init(SysBusDevice *dev)
DriveInfo *dinfo;
memory_region_init_io(&s->iomem, &pl181_ops, s, "pl181", 0x1000);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
sysbus_init_irq(dev, &s->irq[0]);
sysbus_init_irq(dev, &s->irq[1]);
qdev_init_gpio_out(&s->busdev.qdev, s->cardstatus, 2);