hw/pci-host/sh_pcic: Declare CPU QOM types using DEFINE_TYPES() macro
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 12 Oct 2023 02:51:12 +0000 (04:51 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Oct 2023 12:46:07 +0000 (14:46 +0200)
commitf30c755f0cefbf2e3100a6ecc1b45c2460b3bbd5
tree3b53f35bc10da02a57ac519124a6334124669510
parent454c1e1dd834b992f4021607f84e85ed9cccb26c
hw/pci-host/sh_pcic: 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.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Message-Id: <20231012041237.22281-2-philmd@linaro.org>
hw/pci-host/sh_pci.c