summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-05-15 17:31:49 -0600
committerTom Rini <trini@konsulko.com>2025-05-29 08:30:25 -0600
commit183d88cdfc19ea7bd56af69512f0d1425de73e77 (patch)
tree1454e9a32ab5eabc9a0d277797feb6f4b4eed708
parent85b013e3f43ff4fa50ced6a23ba336813eaf9320 (diff)
net: dc2114x: Include env.h to permit reading the environment
This file uses the environment but does not include the header file. Update it. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/net/dc2114x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c
index 7c0665faa8e..8fa549280aa 100644
--- a/drivers/net/dc2114x.c
+++ b/drivers/net/dc2114x.c
@@ -3,6 +3,7 @@
#include <asm/io.h>
#include <cpu_func.h>
#include <dm.h>
+#include <env.h>
#include <malloc.h>
#include <net.h>
#include <netdev.h>