mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
hw/d*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
300b1fc68c
commit
3eadad551d
15 changed files with 34 additions and 27 deletions
|
@ -80,7 +80,7 @@ static int puv3_dma_init(SysBusDevice *dev)
|
|||
s->reg_CFG[i] = 0x0;
|
||||
}
|
||||
|
||||
memory_region_init_io(&s->iomem, NULL, &puv3_dma_ops, s, "puv3_dma",
|
||||
memory_region_init_io(&s->iomem, OBJECT(s), &puv3_dma_ops, s, "puv3_dma",
|
||||
PUV3_REGS_OFFSET);
|
||||
sysbus_init_mmio(dev, &s->iomem);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue