diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-12 10:35:09 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-09-13 20:10:49 +0200 |
| commit | 13a07eb146c860f85f6fe665dd492f4f89146ba8 (patch) | |
| tree | 8530cb37c637d8ba5c6270244f11bca53e6d2f43 /include/hw/pci-host/designware.h | |
| parent | 28ae3179fc52d2e4d870b635c4a412aab99759e7 (diff) | |
| download | focaccia-qemu-13a07eb146c860f85f6fe665dd492f4f89146ba8.tar.gz focaccia-qemu-13a07eb146c860f85f6fe665dd492f4f89146ba8.zip | |
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>
Diffstat (limited to 'include/hw/pci-host/designware.h')
| -rw-r--r-- | include/hw/pci-host/designware.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/pci-host/designware.h b/include/hw/pci-host/designware.h index 908f3d946b..c484e377a8 100644 --- a/include/hw/pci-host/designware.h +++ b/include/hw/pci-host/designware.h @@ -31,8 +31,6 @@ OBJECT_DECLARE_SIMPLE_TYPE(DesignwarePCIEHost, DESIGNWARE_PCIE_HOST) #define TYPE_DESIGNWARE_PCIE_ROOT "designware-pcie-root" OBJECT_DECLARE_SIMPLE_TYPE(DesignwarePCIERoot, DESIGNWARE_PCIE_ROOT) -struct DesignwarePCIERoot; - typedef struct DesignwarePCIEViewport { DesignwarePCIERoot *root; |