aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/lm32_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/lm32_sys.c')
-rw-r--r--hw/misc/lm32_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/lm32_sys.c b/hw/misc/lm32_sys.c
index aeaf2b7b7b..accfbe3c44 100644
--- a/hw/misc/lm32_sys.c
+++ b/hw/misc/lm32_sys.c
@@ -117,7 +117,7 @@ static int lm32_sys_init(SysBusDevice *dev)
{
LM32SysState *s = FROM_SYSBUS(typeof(*s), dev);
- memory_region_init_io(&s->iomem, &sys_ops , s, "sys", R_MAX * 4);
+ memory_region_init_io(&s->iomem, NULL, &sys_ops , s, "sys", R_MAX * 4);
sysbus_init_mmio(dev, &s->iomem);
/* Note: This device is not created in the board initialization,