Re: [PATCH v2 12/14] hw/rtc/mc146818: Include mc146818rtc_regs.h a bit less

2019-10-24 Thread Laurent Vivier
Le 04/10/2019 à 01:04, Philippe Mathieu-Daudé a écrit : > Only 2 source files require the "mc146818rtc_regs.h" header. > Instead of having it processed 12 times, by all objects > using "mc146818rtc.h", include it directly where used. > > Reviewed-by: Alistair Francis > Signed-off-by: Philippe Mat

[PATCH v2 12/14] hw/rtc/mc146818: Include mc146818rtc_regs.h a bit less

2019-10-03 Thread Philippe Mathieu-Daudé
Only 2 source files require the "mc146818rtc_regs.h" header. Instead of having it processed 12 times, by all objects using "mc146818rtc.h", include it directly where used. Reviewed-by: Alistair Francis Signed-off-by: Philippe Mathieu-Daudé --- hw/rtc/mc146818rtc.c | 1 + hw/timer/hpet.c