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>
Thu, 19 Oct 2023 21:13:27 +0000 (23:13 +0200)
commitbf9e5c1f22f6b4995672b72dd96bb363317fe574
tree27879ac9f8af2c7e11936f7143670288d673646f
parent53af33a5b4e799d92e6687984349a098c3d37732
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