aboutsummaryrefslogtreecommitdiff
path: root/test/dm/test-driver.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 10:15:37 -0600
committerTom Rini <trini@konsulko.com>2020-08-03 22:19:54 -0400
commit0e1fad4382fbceb630d09e7009afe1b1b31a64d6 (patch)
tree16bdfc3b857cfa9d8849a79de3eacfe3bd4d9bf2 /test/dm/test-driver.c
parent82a7697b5ab3327d76cba884e10ac603aadac68c (diff)
downloadu-boot-0e1fad4382fbceb630d09e7009afe1b1b31a64d6.zip
u-boot-0e1fad4382fbceb630d09e7009afe1b1b31a64d6.tar.gz
u-boot-0e1fad4382fbceb630d09e7009afe1b1b31a64d6.tar.bz2
dm: core: Drop header files from dm/test.h
These header file should not be included in other header files. Remove them and add to each individual file. Add test/test.h to test/ui.h since that is a reasonable place. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/test-driver.c')
-rw-r--r--test/dm/test-driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dm/test-driver.c b/test/dm/test-driver.c
index ba85fa3..08bdf01 100644
--- a/test/dm/test-driver.c
+++ b/test/dm/test-driver.c
@@ -11,9 +11,10 @@
#include <errno.h>
#include <log.h>
#include <malloc.h>
+#include <asm/io.h>
#include <dm/test.h>
+#include <test/test.h>
#include <test/ut.h>
-#include <asm/io.h>
int dm_testdrv_op_count[DM_TEST_OP_COUNT];
static struct unit_test_state *uts = &global_dm_test_state;