[PATCH v4 2/5] net: dwc_eth_qos: Fix header to be self-contained

Philip Oberfichtner pro at denx.de
Fri Aug 2 11:25:36 CEST 2024


Before this commit, usage of this header relied on a specific include
order. Fix it by including all dependencies.

Signed-off-by: Philip Oberfichtner <pro at denx.de>
Reviewed-by: Marek Vasut <marex at denx.de>
---

Notes:
    Changes in V4: None
    Changes in V3: None

 drivers/net/dwc_eth_qos.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/net/dwc_eth_qos.h b/drivers/net/dwc_eth_qos.h
index a06390a698..c7d3e23ab7 100644
--- a/drivers/net/dwc_eth_qos.h
+++ b/drivers/net/dwc_eth_qos.h
@@ -3,8 +3,11 @@
  * Copyright 2022 NXP
  */
 
-#include <phy_interface.h>
+#include <asm/gpio.h>
+#include <clk.h>
 #include <linux/bitops.h>
+#include <phy_interface.h>
+#include <reset.h>
 
 /* Core registers */
 
-- 
2.39.2



More information about the U-Boot mailing list