summaryrefslogtreecommitdiff
path: root/hw/syborg_pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_pointer.c')
-rw-r--r--hw/syborg_pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/syborg_pointer.c b/hw/syborg_pointer.c
index a0f8b32ab..bb75fa42c 100644
--- a/hw/syborg_pointer.c
+++ b/hw/syborg_pointer.c
@@ -186,7 +186,7 @@ static int syborg_pointer_init(SysBusDevice *dev)
sysbus_init_irq(dev, &s->irq);
memory_region_init_io(&s->iomem, &syborg_pointer_ops, s,
"pointer", 0x1000);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
if (s->fifo_size <= 0) {
fprintf(stderr, "syborg_pointer: fifo too small\n");