hw/rtc/mc146818: Include mc146818rtc_regs.h a bit less
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 3 Oct 2019 23:04:02 +0000 (01:04 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 24 Oct 2019 18:33:07 +0000 (20:33 +0200)
commit7ffcb73d3f16bfffa946e4fc780292725638953f
tree8e70f6c5d031f0058d7c445fca379e1534128b64
parentea5dcf4e1d00ea6de8112968164a97ce8a92ddce
hw/rtc/mc146818: Include mc146818rtc_regs.h a bit less

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 <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191003230404.19384-13-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/rtc/mc146818rtc.c
hw/timer/hpet.c
include/hw/rtc/mc146818rtc.h