diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-10-04 01:04:02 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-10-24 20:33:07 +0200 |
commit | 7ffcb73d3f16bfffa946e4fc780292725638953f (patch) | |
tree | 8e70f6c5d031f0058d7c445fca379e1534128b64 /hw/rtc | |
parent | ea5dcf4e1d00ea6de8112968164a97ce8a92ddce (diff) | |
download | qemu-7ffcb73d3f16bfffa946e4fc780292725638953f.zip qemu-7ffcb73d3f16bfffa946e4fc780292725638953f.tar.gz qemu-7ffcb73d3f16bfffa946e4fc780292725638953f.tar.bz2 |
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>
Diffstat (limited to 'hw/rtc')
-rw-r--r-- | hw/rtc/mc146818rtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/rtc/mc146818rtc.c b/hw/rtc/mc146818rtc.c index ced15f7..9d4ed54 100644 --- a/hw/rtc/mc146818rtc.c +++ b/hw/rtc/mc146818rtc.c @@ -35,6 +35,7 @@ #include "sysemu/reset.h" #include "sysemu/runstate.h" #include "hw/rtc/mc146818rtc.h" +#include "hw/rtc/mc146818rtc_regs.h" #include "migration/vmstate.h" #include "qapi/error.h" #include "qapi/qapi-commands-misc-target.h" |