aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/hpet.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-13 13:01:47 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2024-02-20 20:34:21 +0300
commite62f8ffb293c1abb8575b33d6a699c3af83f5698 (patch)
treec88afa40ec0024465d437e6fb6caa4e2bd6b637c /hw/timer/hpet.c
parent22942c10608adc9054cab01e85a8d2f2bc58b276 (diff)
downloadqemu-e62f8ffb293c1abb8575b33d6a699c3af83f5698.zip
qemu-e62f8ffb293c1abb8575b33d6a699c3af83f5698.tar.gz
qemu-e62f8ffb293c1abb8575b33d6a699c3af83f5698.tar.bz2
hw/timer: Move HPET_INTCAP definition to "hpet.h"
HPET_INTCAP is specific to TYPE_HPET, so define it there. hpet.c doesn't need to include "hw/i386/pc.h" anymore. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Luc Michel <luc.michel@amd.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/timer/hpet.c')
-rw-r--r--hw/timer/hpet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c
index 1672faa..01efe48 100644
--- a/hw/timer/hpet.c
+++ b/hw/timer/hpet.c
@@ -25,7 +25,6 @@
*/
#include "qemu/osdep.h"
-#include "hw/i386/pc.h"
#include "hw/irq.h"
#include "qapi/error.h"
#include "qemu/error-report.h"