[PATCH v3 2/5] net: dwc_eth_qos: Fix header to be self-contained
Philip Oberfichtner
pro at denx.de
Wed Jul 17 14:29:03 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>
---
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 8b3d0d464d3..6372ba9f35c 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