diff options
author | Mark Cave-Ayland | 2020-09-26 16:02:13 +0200 |
---|---|---|
committer | Mark Cave-Ayland | 2020-10-28 08:59:25 +0100 |
commit | d19265eaf543c1305754212002d28cb2277609a2 (patch) | |
tree | eaed5a4acac1cb73132fbc6a8fe8bd4bf4651d16 /include/hw/sparc | |
parent | sparc32-ledma: use object_initialize_child() for lance child object (diff) | |
download | qemu-d19265eaf543c1305754212002d28cb2277609a2.tar.gz qemu-d19265eaf543c1305754212002d28cb2277609a2.tar.xz qemu-d19265eaf543c1305754212002d28cb2277609a2.zip |
sparc32-espdma: use object_initialize_child() for esp child object
Store the child object directly within the sparc32-espdma 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-4-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include/hw/sparc')
-rw-r--r-- | include/hw/sparc/sparc32_dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/sparc/sparc32_dma.h b/include/hw/sparc/sparc32_dma.h index 80d69cbba2..cde8ec02cb 100644 --- a/include/hw/sparc/sparc32_dma.h +++ b/include/hw/sparc/sparc32_dma.h @@ -28,7 +28,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(ESPDMADeviceState, SPARC32_ESPDMA_DEVICE) struct ESPDMADeviceState { DMADeviceState parent_obj; - SysBusESPState *esp; + SysBusESPState esp; }; #define TYPE_SPARC32_LEDMA_DEVICE "sparc32-ledma" |