hw/pci-host/designware: Declare CPU QOM types using DEFINE_TYPES() macro
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 12 Oct 2023 08:35:09 +0000 (10:35 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Sep 2024 18:10:49 +0000 (20:10 +0200)
commit13a07eb146c860f85f6fe665dd492f4f89146ba8
tree8530cb37c637d8ba5c6270244f11bca53e6d2f43
parent28ae3179fc52d2e4d870b635c4a412aab99759e7
hw/pci-host/designware: Declare CPU QOM types using DEFINE_TYPES() macro

When multiple QOM types are registered in the same file,
it is simpler to use the the DEFINE_TYPES() macro. In
particular because type array declared with such macro
are easier to review.

Remove a pointless structure declaration in "designware.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
Message-Id: <20231012121857.31873-2-philmd@linaro.org>
hw/pci-host/designware.c
include/hw/pci-host/designware.h