From: Markus Armbruster Date: Thu, 2 Feb 2023 13:38:18 +0000 (+0100) Subject: hw/input: Clean up includes X-Git-Tag: v8.0.0-rc0~66^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=626fb3c6a884583a425672f34c3837ed99365b27;p=thirdparty%2Fqemu.git hw/input: Clean up includes This commit was created with scripts/clean-includes. All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Markus Armbruster Reviewed-by: Michael S. Tsirkin Message-Id: <20230202133830.2152150-9-armbru@redhat.com> --- diff --git a/hw/input/tsc210x.c b/hw/input/tsc210x.c index fdd5ff87d94..7eae5989f76 100644 --- a/hw/input/tsc210x.c +++ b/hw/input/tsc210x.c @@ -20,7 +20,6 @@ */ #include "qemu/osdep.h" -#include "qemu/log.h" #include "hw/hw.h" #include "audio/audio.h" #include "qemu/timer.h" diff --git a/include/hw/input/pl050.h b/include/hw/input/pl050.h index 89ec4fafc9a..4cb8985f31a 100644 --- a/include/hw/input/pl050.h +++ b/include/hw/input/pl050.h @@ -10,7 +10,6 @@ #ifndef HW_PL050_H #define HW_PL050_H -#include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/input/ps2.h"