aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-10-04 01:04:04 +0200
committerLaurent Vivier <laurent@vivier.eu>2019-10-24 20:35:28 +0200
commitfabb862f76f093cdd1610571de9ba714d3333c1c (patch)
tree43e16df07aa25a47496e1e53e55b95b6a434b889
parent2330113bf5514eb8e0e74d7a2207a3d5183a3008 (diff)
downloadqemu-fabb862f76f093cdd1610571de9ba714d3333c1c.zip
qemu-fabb862f76f093cdd1610571de9ba714d3333c1c.tar.gz
qemu-fabb862f76f093cdd1610571de9ba714d3333c1c.tar.bz2
hw/rtc/aspeed_rtc: Remove unused includes
The system <stdint.h> include is already provided by "osdep.h" (the scripts/clean-includes file clean such headers). Commit 64552b6be47 suggests we don't need to include "hw/irq.h": Move the qemu_irq and qemu_irq_handler typedefs from hw/irq.h to qemu/typedefs.h, and then include hw/irq.h only where it's still needed. Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20191003230404.19384-15-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r--include/hw/rtc/aspeed_rtc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/rtc/aspeed_rtc.h b/include/hw/rtc/aspeed_rtc.h
index 3fde854..b94a710 100644
--- a/include/hw/rtc/aspeed_rtc.h
+++ b/include/hw/rtc/aspeed_rtc.h
@@ -8,9 +8,6 @@
#ifndef HW_RTC_ASPEED_RTC_H
#define HW_RTC_ASPEED_RTC_H
-#include <stdint.h>
-
-#include "hw/irq.h"
#include "hw/sysbus.h"
typedef struct AspeedRtcState {