]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/gpio/aspeed: Fix definition of AspeedGPIOClass
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Fri, 6 Jun 2025 09:24:04 +0000 (17:24 +0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 10 Jun 2025 10:59:09 +0000 (12:59 +0200)
commit2f8f01ae3d6b7acae187d700d7358d9bb248a696
tree94599cf22002297f4ecd3bca97a8cb3d7f2e6bfc
parent747a7ee3741fa9876583cbbbc8dd8b8b351a199c
hw/gpio/aspeed: Fix definition of AspeedGPIOClass

AspeedGPIOClass's parent is SysBusDeviceClass rather than SysBusDevice.
This isn't catastrophic only because sizeof(SysBusDevice) >
sizeof(SysBusDeviceClass).

Fixes: 4b7f956862dc ("hw/gpio: Add basic Aspeed GPIO model for AST2400 and AST2500")
Closes: https://lists.gnu.org/archive/html/qemu-devel/2025-06/msg00586.html
Suggested-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-ID: <20250606092406.229833-4-zhenzhong.duan@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
include/hw/gpio/aspeed_gpio.h