summaryrefslogtreecommitdiffstats
path: root/hw/cs4231.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cs4231.c')
-rw-r--r--hw/cs4231.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cs4231.c b/hw/cs4231.c
index 0349838..2dfb708 100644
--- a/hw/cs4231.c
+++ b/hw/cs4231.c
@@ -145,7 +145,7 @@ static int cs4231_init1(SysBusDevice *dev)
CSState *s = FROM_SYSBUS(CSState, dev);
memory_region_init_io(&s->iomem, &cs_mem_ops, s, "cs4321", CS_SIZE);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
sysbus_init_irq(dev, &s->irq);
return 0;
OpenPOWER on IntegriCloud