aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/milkymist-hpdmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/milkymist-hpdmc.c')
-rw-r--r--hw/misc/milkymist-hpdmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/milkymist-hpdmc.c b/hw/misc/milkymist-hpdmc.c
index d922f6ffad..f4826b94bb 100644
--- a/hw/misc/milkymist-hpdmc.c
+++ b/hw/misc/milkymist-hpdmc.c
@@ -127,7 +127,7 @@ static int milkymist_hpdmc_init(SysBusDevice *dev)
{
MilkymistHpdmcState *s = FROM_SYSBUS(typeof(*s), dev);
- memory_region_init_io(&s->regs_region, &hpdmc_mmio_ops, s,
+ memory_region_init_io(&s->regs_region, NULL, &hpdmc_mmio_ops, s,
"milkymist-hpdmc", R_MAX * 4);
sysbus_init_mmio(dev, &s->regs_region);