aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa/xtensa_lx60.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xtensa/xtensa_lx60.c')
-rw-r--r--hw/xtensa/xtensa_lx60.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xtensa/xtensa_lx60.c b/hw/xtensa/xtensa_lx60.c
index 11c30c2d1b..075daf1893 100644
--- a/hw/xtensa/xtensa_lx60.c
+++ b/hw/xtensa/xtensa_lx60.c
@@ -139,7 +139,7 @@ static void lx60_net_init(MemoryRegion *address_space,
sysbus_mmio_get_region(s, 1));
ram = g_malloc(sizeof(*ram));
- memory_region_init_ram(ram, NULL, "open_eth.ram", 16384);
+ memory_region_init_ram(ram, OBJECT(s), "open_eth.ram", 16384);
vmstate_register_ram_global(ram);
memory_region_add_subregion(address_space, buffers, ram);
}