summaryrefslogtreecommitdiff
path: root/hw/pl050.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl050.c')
-rw-r--r--hw/pl050.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl050.c b/hw/pl050.c
index dedd622cf..8182a1c82 100644
--- a/hw/pl050.c
+++ b/hw/pl050.c
@@ -137,7 +137,7 @@ static int pl050_init(SysBusDevice *dev, int is_mouse)
pl050_state *s = FROM_SYSBUS(pl050_state, dev);
memory_region_init_io(&s->iomem, &pl050_ops, s, "pl050", 0x1000);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
sysbus_init_irq(dev, &s->irq);
s->is_mouse = is_mouse;
if (s->is_mouse)