aboutsummaryrefslogtreecommitdiff
path: root/hw/mst_fpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mst_fpga.c')
-rw-r--r--hw/mst_fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mst_fpga.c b/hw/mst_fpga.c
index cf9957b..9324702 100644
--- a/hw/mst_fpga.c
+++ b/hw/mst_fpga.c
@@ -207,7 +207,7 @@ static int mst_fpga_init(SysBusDevice *dev)
memory_region_init_io(&s->iomem, &mst_fpga_ops, s,
"fpga", 0x00100000);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
return 0;
}