aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2022-03-30 12:04:23 +0900
committerSander Vanheule <sander@svanheule.net>2022-10-08 11:05:02 +0200
commit3834e72fa3b632f819227bd2c564dc87ed0575fe (patch)
tree8465dac71f047f1cb43d31fb2c0215c2554caa78
parent04cca345dfc8d0debbdad0bb1907003d3433cd8c (diff)
downloadupstream-3834e72fa3b632f819227bd2c564dc87ed0575fe.tar.gz
upstream-3834e72fa3b632f819227bd2c564dc87ed0575fe.tar.bz2
upstream-3834e72fa3b632f819227bd2c564dc87ed0575fe.zip
realtek: add missing of.h include in phy driver
of.h is required for of_property_read_u32(). Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [amend commit message] Signed-off-by: Sander Vanheule <sander@svanheule.net>
-rw-r--r--target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c1
1 files changed, 1 insertions, 0 deletions
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 259458b1be..491ceb48b6 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>