[PATCH v3 20/22] net: dc2114x: Include env.h to permit reading the environment
Tom Rini
trini at konsulko.com
Fri May 16 01:31:49 CEST 2025
From: Simon Glass <sjg at chromium.org>
This file uses the environment but does not include the header file.
Update it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3:
- None
---
drivers/net/dc2114x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c
index 7c0665faa8e1..8fa549280aac 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>
--
2.43.0
More information about the U-Boot
mailing list