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>
This commit is contained in:
parent
ea5dcf4e1d
commit
7ffcb73d3f
@ -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"
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "hw/timer/hpet.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/rtc/mc146818rtc.h"
|
||||
#include "hw/rtc/mc146818rtc_regs.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "hw/timer/i8254.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#define HW_RTC_MC146818RTC_H
|
||||
|
||||
#include "hw/isa/isa.h"
|
||||
#include "hw/rtc/mc146818rtc_regs.h"
|
||||
|
||||
#define TYPE_MC146818_RTC "mc146818rtc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user