OSDN Git Service

hw/pcmcia/pxa2xx: Realize sysbus device before accessing it
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Oct 2023 13:03:24 +0000 (15:03 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 27 Oct 2023 11:48:57 +0000 (12:48 +0100)
commit217ceefee0dad668fe1557131c30be66c97ea699
treea087301fc7d596cb35e6170c6ea4f9fc0609f1f7
parentd8239c475b9aed7984b3c01942b08c03b469ee8e
hw/pcmcia/pxa2xx: Realize sysbus device before accessing it

sysbus_mmio_map() should not be called on unrealized device.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20231020130331.50048-4-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/pcmcia/pxa2xx.c