aboutsummaryrefslogtreecommitdiff
path: root/hw/grlib_irqmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/grlib_irqmp.c')
-rw-r--r--hw/grlib_irqmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/grlib_irqmp.c b/hw/grlib_irqmp.c
index dce0bbb9f4..28725563c0 100644
--- a/hw/grlib_irqmp.c
+++ b/hw/grlib_irqmp.c
@@ -349,7 +349,7 @@ static int grlib_irqmp_init(SysBusDevice *dev)
irqmp->state = g_malloc0(sizeof *irqmp->state);
- sysbus_init_mmio_region(dev, &irqmp->iomem);
+ sysbus_init_mmio(dev, &irqmp->iomem);
return 0;
}