diff options
author | Paolo Bonzini | 2013-06-07 03:25:08 +0200 |
---|---|---|
committer | Paolo Bonzini | 2013-07-04 17:42:48 +0200 |
commit | 40c5dce99bac2d1d5f240c8c8ec53dc23ea46a89 (patch) | |
tree | f169d56f65f0d92bc0a2a26fa27b52f3bcf1b7f5 /hw/ppc/mpc8544_guts.c | |
parent | hw/n*: pass owner to memory_region_init* functions (diff) | |
download | qemu-40c5dce99bac2d1d5f240c8c8ec53dc23ea46a89.tar.gz qemu-40c5dce99bac2d1d5f240c8c8ec53dc23ea46a89.tar.xz qemu-40c5dce99bac2d1d5f240c8c8ec53dc23ea46a89.zip |
hw/p*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ppc/mpc8544_guts.c')
-rw-r--r-- | hw/ppc/mpc8544_guts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/mpc8544_guts.c b/hw/ppc/mpc8544_guts.c index 56249b4b6a..2e2f2eb91f 100644 --- a/hw/ppc/mpc8544_guts.c +++ b/hw/ppc/mpc8544_guts.c @@ -119,7 +119,7 @@ static void mpc8544_guts_initfn(Object *obj) SysBusDevice *d = SYS_BUS_DEVICE(obj); GutsState *s = MPC8544_GUTS(obj); - memory_region_init_io(&s->iomem, NULL, &mpc8544_guts_ops, s, + memory_region_init_io(&s->iomem, OBJECT(s), &mpc8544_guts_ops, s, "mpc8544.guts", MPC8544_GUTS_MMIO_SIZE); sysbus_init_mmio(d, &s->iomem); } |