diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-06 21:25:08 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-04 17:42:48 +0200 |
commit | 22fc860b0a0b689eacf4a01f5aa2ccbf36043a12 (patch) | |
tree | c630e8bc6fd31e50630843a7ee8bdf4265d5eef0 /hw/xtensa | |
parent | 853dca12055ea74994629d06798165d811c5e1e2 (diff) | |
download | qemu-22fc860b0a0b689eacf4a01f5aa2ccbf36043a12.zip qemu-22fc860b0a0b689eacf4a01f5aa2ccbf36043a12.tar.gz qemu-22fc860b0a0b689eacf4a01f5aa2ccbf36043a12.tar.bz2 |
hw/[u-x]*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/xtensa')
-rw-r--r-- | hw/xtensa/xtensa_lx60.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xtensa/xtensa_lx60.c b/hw/xtensa/xtensa_lx60.c index 11c30c2..075daf1 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); } |