summaryrefslogtreecommitdiff
path: root/tests/device
diff options
context:
space:
mode:
Diffstat (limited to 'tests/device')
-rw-r--r--tests/device/i2c-test.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/device/i2c-test.c b/tests/device/i2c-test.c
index 9303456261..acf7b0741d 100644
--- a/tests/device/i2c-test.c
+++ b/tests/device/i2c-test.c
@@ -1,12 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stdarg.h>
-#include <stddef.h>
-#include <setjmp.h>
-#include <limits.h>
-#include <cmocka.h>
-
#include <device/i2c_simple.h>
+#include <limits.h>
+#include <tests/test.h>
/* Simulate two i2c devices, both on bus 0, each with three uint8_t regs
implemented. */