aboutsummaryrefslogtreecommitdiff
path: root/hw/nvram/ds1225y.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/nvram/ds1225y.c')
-rw-r--r--hw/nvram/ds1225y.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nvram/ds1225y.c b/hw/nvram/ds1225y.c
index 488f1d7241..1697562d77 100644
--- a/hw/nvram/ds1225y.c
+++ b/hw/nvram/ds1225y.c
@@ -117,7 +117,7 @@ static int nvram_sysbus_initfn(SysBusDevice *dev)
s->contents = g_malloc0(s->chip_size);
- memory_region_init_io(&s->iomem, &nvram_ops, s, "nvram", s->chip_size);
+ memory_region_init_io(&s->iomem, NULL, &nvram_ops, s, "nvram", s->chip_size);
sysbus_init_mmio(dev, &s->iomem);
/* Read current file */