diff options
author | Paolo Bonzini | 2013-06-07 03:25:08 +0200 |
---|---|---|
committer | Paolo Bonzini | 2013-07-04 17:42:47 +0200 |
commit | 300b1fc68c47478f36705f23a93dce77ac3e429a (patch) | |
tree | 11eed2e2c39176fed8ad1b720bbd01b6451acb3a /hw/char/escc.c | |
parent | hw/block: pass owner to memory_region_init* functions (diff) | |
download | qemu-300b1fc68c47478f36705f23a93dce77ac3e429a.tar.gz qemu-300b1fc68c47478f36705f23a93dce77ac3e429a.tar.xz qemu-300b1fc68c47478f36705f23a93dce77ac3e429a.zip |
hw/c*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char/escc.c')
-rw-r--r-- | hw/char/escc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/escc.c b/hw/char/escc.c index 422adf222a..4c42198cbe 100644 --- a/hw/char/escc.c +++ b/hw/char/escc.c @@ -886,7 +886,7 @@ static int escc_init1(SysBusDevice *dev) s->chn[0].otherchn = &s->chn[1]; s->chn[1].otherchn = &s->chn[0]; - memory_region_init_io(&s->mmio, NULL, &escc_mem_ops, s, "escc", + memory_region_init_io(&s->mmio, OBJECT(s), &escc_mem_ops, s, "escc", ESCC_SIZE << s->it_shift); sysbus_init_mmio(dev, &s->mmio); |