|
From: | Richard Henderson |
Subject: | Re: [PATCH 02/10] hw/arm/realview: Declare QOM types using DEFINE_TYPES() macro |
Date: | Wed, 24 May 2023 12:01:42 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 5/24/23 07:58, Philippe Mathieu-Daudé wrote:
When multiple QOM types are registered in the same file, it is simpler to use the the DEFINE_TYPES() macro. Replace the type_init() / type_register_static() combination. Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> --- hw/arm/realview.c | 50 ++++++++++++++++++----------------------------- 1 file changed, 19 insertions(+), 31 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |