aboutsummaryrefslogtreecommitdiff
path: root/hw/pl080.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl080.c')
-rw-r--r--hw/pl080.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl080.c b/hw/pl080.c
index 1efd3bd..e001df9 100644
--- a/hw/pl080.c
+++ b/hw/pl080.c
@@ -357,7 +357,7 @@ static int pl08x_init(SysBusDevice *dev, int nchannels)
pl080_state *s = FROM_SYSBUS(pl080_state, dev);
memory_region_init_io(&s->iomem, &pl080_ops, s, "pl080", 0x1000);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
sysbus_init_irq(dev, &s->irq);
s->nchannels = nchannels;
return 0;