aboutsummaryrefslogtreecommitdiff
path: root/tests/rtc-test.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2019-10-18 15:35:45 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-24 14:24:55 +0200
commitd578f7dfb4e4b911fd7c6418b9344dc3dccad7f3 (patch)
treeb70da68e101b5c123f3f3e22eeaece11b8dc0655 /tests/rtc-test.c
parent53e4b8018e600c256bd60e5898f6747eddbc2131 (diff)
mc146818rtc: Move RTC_ISA_IRQ definition
The ISA default number for the RTC devices is not related to its registers neither. Move this definition to "hw/timer/mc146818rtc.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20191018133547.10936-3-philmd@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'tests/rtc-test.c')
-rw-r--r--tests/rtc-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rtc-test.c b/tests/rtc-test.c
index 6309b0ef6c..18f895690f 100644
--- a/tests/rtc-test.c
+++ b/tests/rtc-test.c
@@ -15,6 +15,7 @@
#include "libqtest-single.h"
#include "qemu/timer.h"
+#include "hw/timer/mc146818rtc.h"
#include "hw/timer/mc146818rtc_regs.h"
#define UIP_HOLD_LENGTH (8 * NANOSECONDS_PER_SECOND / 32768)