summaryrefslogtreecommitdiff
path: root/hw/misc/arm_l2x0.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/arm_l2x0.c')
-rw-r--r--hw/misc/arm_l2x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/arm_l2x0.c b/hw/misc/arm_l2x0.c
index eb4427d9c4..954343f467 100644
--- a/hw/misc/arm_l2x0.c
+++ b/hw/misc/arm_l2x0.c
@@ -157,7 +157,7 @@ static int l2x0_priv_init(SysBusDevice *dev)
{
l2x0_state *s = FROM_SYSBUS(l2x0_state, dev);
- memory_region_init_io(&s->iomem, &l2x0_mem_ops, s, "l2x0_cc", 0x1000);
+ memory_region_init_io(&s->iomem, NULL, &l2x0_mem_ops, s, "l2x0_cc", 0x1000);
sysbus_init_mmio(dev, &s->iomem);
return 0;
}