hw/arm/stellaris: Add missing QOM 'machine' parent
commit7e4a8d9dbeafc89f6a1e2ea6f7a9b0b8979f33d7
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 13 Feb 2024 15:52:13 +0000 (13 16:52 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Feb 2024 13:50:14 +0000 (15 13:50 +0000)
treed1d7f23b392939a10954badb06fcba2c919a78b2
parentcee78fa5134d7193b3185b9ddb86cefd5967c5f8
hw/arm/stellaris: Add missing QOM 'machine' parent

QDev objects created with qdev_new() need to manually add
their parent relationship with object_property_add_child().

This commit plug the devices which aren't part of the SoC;
they will be plugged into a SoC container in the next one.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240213155214.13619-4-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/stellaris.c