aboutsummaryrefslogtreecommitdiff
path: root/hw/pl061.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl061.c')
-rw-r--r--hw/pl061.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl061.c b/hw/pl061.c
index 0e16e8a214..f33ae84408 100644
--- a/hw/pl061.c
+++ b/hw/pl061.c
@@ -275,7 +275,7 @@ static int pl061_init(SysBusDevice *dev, const unsigned char *id)
pl061_state *s = FROM_SYSBUS(pl061_state, dev);
s->id = id;
memory_region_init_io(&s->iomem, &pl061_ops, s, "pl061", 0x1000);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
sysbus_init_irq(dev, &s->irq);
qdev_init_gpio_in(&dev->qdev, pl061_set_irq, 8);
qdev_init_gpio_out(&dev->qdev, s->out, 8);