aboutsummaryrefslogtreecommitdiff
path: root/hw/rx
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-07 16:25:28 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-15 16:58:46 +0100
commit7188dfcda239ff2460fe8b0994e22e4b3a21dc17 (patch)
tree8c1864b718f3415156aafbeacb929e2d0c10c49d /hw/rx
parentfbd758008f0f86caf703c2ba2bd6a45ddb37b9f0 (diff)
downloadqemu-7188dfcda239ff2460fe8b0994e22e4b3a21dc17.zip
qemu-7188dfcda239ff2460fe8b0994e22e4b3a21dc17.tar.gz
qemu-7188dfcda239ff2460fe8b0994e22e4b3a21dc17.tar.bz2
hw/rx/rx62n: Reduce inclusion of 'qemu/units.h'
"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>
Diffstat (limited to 'hw/rx')
-rw-r--r--hw/rx/rx-gdbsim.c1
-rw-r--r--hw/rx/rx62n.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/rx/rx-gdbsim.c b/hw/rx/rx-gdbsim.c
index 47c1702..bb4746c 100644
--- a/hw/rx/rx-gdbsim.c
+++ b/hw/rx/rx-gdbsim.c
@@ -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"
diff --git a/hw/rx/rx62n.c b/hw/rx/rx62n.c
index 4dc44af..d3f61a6 100644
--- a/hw/rx/rx62n.c
+++ b/hw/rx/rx62n.c
@@ -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"