aboutsummaryrefslogtreecommitdiff
path: root/hw/empty_slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/empty_slot.c')
-rw-r--r--hw/empty_slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/empty_slot.c b/hw/empty_slot.c
index 626ba6948d..8b734f2c9f 100644
--- a/hw/empty_slot.c
+++ b/hw/empty_slot.c
@@ -72,7 +72,7 @@ static int empty_slot_init1(SysBusDevice *dev)
memory_region_init_io(&s->iomem, &empty_slot_ops, s,
"empty-slot", s->size);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
return 0;
}