summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 11:40:05 -0600
committerTom Rini <trini@konsulko.com>2020-05-18 21:19:18 -0400
commitf7ae49fc4f363a803dab3be078e93ead8e75a8e9 (patch)
treea40dc0c2d47875a8b069c8704808e2dc8f9db5fa /env
parent3c7dded8e179ee213c8267c892720b84a7a59fd5 (diff)
common: Drop log.h from common header
Move this header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env')
-rw-r--r--env/common.c1
-rw-r--r--env/env.c1
-rw-r--r--env/flash.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/env/common.c b/env/common.c
index 0256b3e356..088b2aebb4 100644
--- a/env/common.c
+++ b/env/common.c
@@ -12,6 +12,7 @@
#include <command.h>
#include <env.h>
#include <env_internal.h>
+#include <log.h>
#include <sort.h>
#include <linux/stddef.h>
#include <search.h>
diff --git a/env/env.c b/env/env.c
index 9237bb9c74..393f1490de 100644
--- a/env/env.c
+++ b/env/env.c
@@ -7,6 +7,7 @@
#include <common.h>
#include <env.h>
#include <env_internal.h>
+#include <log.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/env/flash.c b/env/flash.c
index e05f7ef74b..3198147c38 100644
--- a/env/flash.c
+++ b/env/flash.c
@@ -14,6 +14,7 @@
#include <env.h>
#include <env_internal.h>
#include <flash.h>
+#include <log.h>
#include <linux/stddef.h>
#include <malloc.h>
#include <search.h>