sparc32-ledma: use object_initialize_child() for lance child object
commitbce83ed9981bd8920499921e9931f46db56b77ff
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 26 Sep 2020 14:02:12 +0000 (26 15:02 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 28 Oct 2020 07:59:25 +0000 (28 07:59 +0000)
tree2e561ebd05b9530aebdb546eede062fd07499d45
parent1f10fd53cbee9830db3e8d2f4ff0c7a507655fae
sparc32-ledma: use object_initialize_child() for lance child object

Store the child object directly within the sparc32-ledma 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-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/dma/sparc32_dma.c
include/hw/sparc/sparc32_dma.h