From: INAGAKI Hiroshi <[email protected]>

of.h is required for of_property_read_u32().

Signed-off-by: INAGAKI Hiroshi <[email protected]>
[amend commit message]
Signed-off-by: Sander Vanheule <[email protected]>
---
 target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c 
b/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c
index 259458b1beef..491ceb48b6a0 100644
--- a/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c
+++ b/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c
@@ -6,6 +6,7 @@
 
 #include <linux/module.h>
 #include <linux/delay.h>
+#include <linux/of.h>
 #include <linux/phy.h>
 #include <linux/netdevice.h>
 #include <linux/firmware.h>
-- 
2.37.3


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to