From 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 30 Oct 2020 21:38:53 -0600 Subject: common: Drop asm/global_data.h from common header Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include at all, so remove that include. Signed-off-by: Simon Glass Signed-off-by: Tom Rini --- test/log/cont_test.c | 1 + test/log/log_filter.c | 1 + test/log/log_test.c | 1 + test/log/nolog_test.c | 1 + test/log/pr_cont_test.c | 1 + test/log/syslog_test.c | 1 + test/log/syslog_test_ndebug.c | 1 + 7 files changed, 7 insertions(+) (limited to 'test/log') diff --git a/test/log/cont_test.c b/test/log/cont_test.c index 68ca1d262c4..16379a74be6 100644 --- a/test/log/cont_test.c +++ b/test/log/cont_test.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include diff --git a/test/log/log_filter.c b/test/log/log_filter.c index e8a6e01a5cc..b644b40a850 100644 --- a/test/log/log_filter.c +++ b/test/log/log_filter.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/test/log/log_test.c b/test/log/log_test.c index 82234a69942..4a814ff4132 100644 --- a/test/log/log_test.c +++ b/test/log/log_test.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/test/log/nolog_test.c b/test/log/nolog_test.c index c418ed07c9a..cb4fb3db9a2 100644 --- a/test/log/nolog_test.c +++ b/test/log/nolog_test.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include diff --git a/test/log/pr_cont_test.c b/test/log/pr_cont_test.c index 236eff4b33b..6abddf7a119 100644 --- a/test/log/pr_cont_test.c +++ b/test/log/pr_cont_test.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #define BUFFSIZE 64 diff --git a/test/log/syslog_test.c b/test/log/syslog_test.c index a058d8f5695..4db649db822 100644 --- a/test/log/syslog_test.c +++ b/test/log/syslog_test.c @@ -11,6 +11,7 @@ #define LOG_DEBUG #include +#include #include #include #include diff --git a/test/log/syslog_test_ndebug.c b/test/log/syslog_test_ndebug.c index 84844a39440..4438791044d 100644 --- a/test/log/syslog_test_ndebug.c +++ b/test/log/syslog_test_ndebug.c @@ -8,6 +8,7 @@ */ #include +#include #include #include #include -- cgit v1.3.1