aboutsummaryrefslogtreecommitdiff
path: root/hw/pl041.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl041.c')
-rw-r--r--hw/pl041.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl041.c b/hw/pl041.c
index efd52ac42..d8e55d1ef 100644
--- a/hw/pl041.c
+++ b/hw/pl041.c
@@ -543,7 +543,7 @@ static int pl041_init(SysBusDevice *dev)
/* Connect the device to the sysbus */
memory_region_init_io(&s->iomem, &pl041_ops, s, "pl041", 0x1000);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
sysbus_init_irq(dev, &s->irq);
/* Init the codec */