hw/rx/rx62n: Reduce inclusion of 'qemu/units.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 7 Feb 2024 15:25:28 +0000 (16:25 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 15 Feb 2024 15:58:46 +0000 (16:58 +0100)
"qemu/units.h" is not used in the "hw/rx/rx62n.h"
header, include it in the source where it is.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240213130341.1793-3-philmd@linaro.org>

hw/rx/rx-gdbsim.c
hw/rx/rx62n.c
include/hw/rx/rx62n.h

index 47c17026c738dd453eaf8fc52cc0795bd05a764d..bb4746c55694c706b4e7b7d6c941c5ddc51ac395 100644 (file)
@@ -20,6 +20,7 @@
 #include "qemu/cutils.h"
 #include "qemu/error-report.h"
 #include "qemu/guest-random.h"
+#include "qemu/units.h"
 #include "qapi/error.h"
 #include "hw/loader.h"
 #include "hw/rx/rx62n.h"
index 4dc44afd9d48136bd6af17274854285710c41ad7..d3f61a6837c9fdfcc9e581189a1e797d49bbe1fd 100644 (file)
@@ -23,6 +23,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
+#include "qemu/units.h"
 #include "hw/rx/rx62n.h"
 #include "hw/loader.h"
 #include "hw/sysbus.h"
index 73ceeb58e55a1e0d1fb3690d75460465e2e09c37..bcda583ab36cc0aa01a0bf5622ae1b0336e46dd7 100644 (file)
@@ -29,7 +29,6 @@
 #include "hw/timer/renesas_tmr.h"
 #include "hw/timer/renesas_cmt.h"
 #include "hw/char/renesas_sci.h"
-#include "qemu/units.h"
 #include "qom/object.h"
 
 #define TYPE_RX62N_MCU "rx62n-mcu"