Skip to contentSkip to conversation

net: Add <cpu_func.h> to some platforms

PATCH New Tom Rini 1 participant 1 message Jul 18, 2025 Network drivers

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 net: Add <cpu_func.h> to some platforms

The common portable header for CPU related functions such as cache flushing and invalidation is <cpu_func.h> so add that to these drivers.

---
 drivers/net/fsl_enetc.c | 1 +
 drivers/net/hifemac.c   | 1 +
 2 files changed, 2 insertions(+)
drivers/net/fsl_enetc.c +1 -0
index 97cccda45190..a4ba27904bcb 100644
@@ -6,6 +6,7 @@
  */
 
 #include <clk.h>
+#include <cpu_func.h>
 #include <dm.h>
 #include <errno.h>
 #include <fdt_support.h>
drivers/net/hifemac.c +1 -0
index 90cc247b3b6c..62182f922f8c 100644
@@ -9,6 +9,7 @@
 
 #include <dm.h>
 #include <clk.h>
+#include <cpu_func.h>
 #include <miiphy.h>
 #include <net.h>
 #include <reset.h>
Signature · 1 line
2.43.0