aboutsummaryrefslogtreecommitdiff
path: root/hw/display/milkymist-vgafb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/milkymist-vgafb.c')
-rw-r--r--hw/display/milkymist-vgafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/milkymist-vgafb.c b/hw/display/milkymist-vgafb.c
index 3828296a3a..b1f9c168fa 100644
--- a/hw/display/milkymist-vgafb.c
+++ b/hw/display/milkymist-vgafb.c
@@ -279,7 +279,7 @@ static int milkymist_vgafb_init(SysBusDevice *dev)
{
MilkymistVgafbState *s = FROM_SYSBUS(typeof(*s), dev);
- memory_region_init_io(&s->regs_region, &vgafb_mmio_ops, s,
+ memory_region_init_io(&s->regs_region, NULL, &vgafb_mmio_ops, s,
"milkymist-vgafb", R_MAX * 4);
sysbus_init_mmio(dev, &s->regs_region);