mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
sparc32-dma: use object_initialize_child() for espdma and ledma child objects
Store the child objects directly within the sparc32-dma object rather than using link properties. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200926140216.7368-2-mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
cfc1105649
commit
1f10fd53cb
2 changed files with 11 additions and 8 deletions
|
@ -48,8 +48,8 @@ struct SPARC32DMAState {
|
|||
|
||||
MemoryRegion dmamem;
|
||||
MemoryRegion ledma_alias;
|
||||
ESPDMADeviceState *espdma;
|
||||
LEDMADeviceState *ledma;
|
||||
ESPDMADeviceState espdma;
|
||||
LEDMADeviceState ledma;
|
||||
};
|
||||
|
||||
/* sparc32_dma.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue