From: Thomas Huth <th...@redhat.com> Neither sysbus.h nor module.h are required to compile this file. diag288 is not a sysbus device, and module.h (for type_init) is included eventually through qom/object.h.
Signed-off-by: Thomas Huth <th...@redhat.com> Reviewed-by: Christian Borntraeger <borntrae...@de.ibm.com> Message-Id: <20201118090344.243117-1-th...@redhat.com> [CH: tweaked description] Signed-off-by: Cornelia Huck <coh...@redhat.com> --- hw/watchdog/wdt_diag288.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/watchdog/wdt_diag288.c b/hw/watchdog/wdt_diag288.c index 71a945f0bdf3..4c4b6a6ab704 100644 --- a/hw/watchdog/wdt_diag288.c +++ b/hw/watchdog/wdt_diag288.c @@ -14,12 +14,10 @@ #include "qemu/osdep.h" #include "sysemu/reset.h" #include "sysemu/watchdog.h" -#include "hw/sysbus.h" #include "qemu/timer.h" #include "hw/watchdog/wdt_diag288.h" #include "migration/vmstate.h" #include "qemu/log.h" -#include "qemu/module.h" static WatchdogTimerModel model = { .wdt_name = TYPE_WDT_DIAG288, -- 2.26.2