mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw/i*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b716368778
commit
1437c94b26
41 changed files with 111 additions and 87 deletions
|
@ -344,7 +344,7 @@ static int grlib_irqmp_init(SysBusDevice *dev)
|
|||
return -1;
|
||||
}
|
||||
|
||||
memory_region_init_io(&irqmp->iomem, NULL, &grlib_irqmp_ops, irqmp,
|
||||
memory_region_init_io(&irqmp->iomem, OBJECT(dev), &grlib_irqmp_ops, irqmp,
|
||||
"irqmp", IRQMP_REG_SIZE);
|
||||
|
||||
irqmp->state = g_malloc0(sizeof *irqmp->state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue