diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-19 10:15:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-03 22:19:54 -0400 |
commit | 0e1fad4382fbceb630d09e7009afe1b1b31a64d6 (patch) | |
tree | 16bdfc3b857cfa9d8849a79de3eacfe3bd4d9bf2 /include | |
parent | 82a7697b5ab3327d76cba884e10ac603aadac68c (diff) |
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 'include')
-rw-r--r-- | include/dm/test.h | 3 | ||||
-rw-r--r-- | include/test/ut.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/dm/test.h b/include/dm/test.h index d39686cde2..2c92d41278 100644 --- a/include/dm/test.h +++ b/include/dm/test.h @@ -6,9 +6,6 @@ #ifndef __DM_TEST_H #define __DM_TEST_H -#include <dm.h> -#include <test/test.h> - /** * struct dm_test_cdata - configuration data for test instance * diff --git a/include/test/ut.h b/include/test/ut.h index 99bbb1230c..6ab2f8830d 100644 --- a/include/test/ut.h +++ b/include/test/ut.h @@ -11,6 +11,7 @@ #include <command.h> #include <hexdump.h> #include <linux/err.h> +#include <test/test.h> struct unit_test_state; |