On 7/4/23 16:49, 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é<[email protected]> Reviewed-by: Peter Maydell<[email protected]> --- hw/timer/arm_timer.c | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
