diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2020-09-26 15:02:11 +0100 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2020-10-28 07:59:25 +0000 |
commit | 1f10fd53cbee9830db3e8d2f4ff0c7a507655fae (patch) | |
tree | 716ba819b14d3e8ce0b3466d6ccc73c6e92b2852 /include/hw | |
parent | cfc1105649947f03134294a2448ce2b2e117456f (diff) | |
download | qemu-1f10fd53cbee9830db3e8d2f4ff0c7a507655fae.zip qemu-1f10fd53cbee9830db3e8d2f4ff0c7a507655fae.tar.gz qemu-1f10fd53cbee9830db3e8d2f4ff0c7a507655fae.tar.bz2 |
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>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/sparc/sparc32_dma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/sparc/sparc32_dma.h b/include/hw/sparc/sparc32_dma.h index e650489..3348a72 100644 --- a/include/hw/sparc/sparc32_dma.h +++ b/include/hw/sparc/sparc32_dma.h @@ -48,8 +48,8 @@ struct SPARC32DMAState { MemoryRegion dmamem; MemoryRegion ledma_alias; - ESPDMADeviceState *espdma; - LEDMADeviceState *ledma; + ESPDMADeviceState espdma; + LEDMADeviceState ledma; }; /* sparc32_dma.c */ |