[PATCH 1/2] net: dwc_eth_qos_adi: Add missing header

Greg Malysa malysagreg at gmail.com
Thu Sep 4 01:42:01 CEST 2025


Following header dependency cleanups, an implicit dependence on env.h
was exposed in dwc_eth_qos_adi. However because this driver is not (yet)
enabled in any defconfigs, build tests did not identify the missing
header. This adds the missing #include so that the driver builds
correctly when enabled.

Signed-off-by: Greg Malysa <malysagreg at gmail.com>

---


---
 drivers/net/dwc_eth_qos_adi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/dwc_eth_qos_adi.c b/drivers/net/dwc_eth_qos_adi.c
index 0e6a901e303..fee50a88156 100644
--- a/drivers/net/dwc_eth_qos_adi.c
+++ b/drivers/net/dwc_eth_qos_adi.c
@@ -10,6 +10,7 @@
 
 #include <clk.h>
 #include <dm.h>
+#include <env.h>
 #include <net.h>
 #include <phy.h>
 #include <reset.h>
-- 
2.45.2



More information about the U-Boot mailing list