mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
hw/p*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
eedfac6f38
commit
40c5dce99b
21 changed files with 91 additions and 86 deletions
|
@ -783,7 +783,7 @@ static int e500_ccsr_initfn(SysBusDevice *dev)
|
|||
PPCE500CCSRState *ccsr;
|
||||
|
||||
ccsr = CCSR(dev);
|
||||
memory_region_init(&ccsr->ccsr_space, NULL, "e500-ccsr",
|
||||
memory_region_init(&ccsr->ccsr_space, OBJECT(ccsr), "e500-ccsr",
|
||||
MPC8544_CCSRBAR_SIZE);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue