[openwrt/openwrt] realtek: add missing of.h include in phy driver
LEDE Commits
lede-commits at lists.infradead.org
Sat Oct 8 03:05:27 PDT 2022
svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3834e72fa3b632f819227bd2c564dc87ed0575fe
commit 3834e72fa3b632f819227bd2c564dc87ed0575fe
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Wed Mar 30 12:04:23 2022 +0900
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 at gmail.com>
[amend commit message]
Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
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 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>
More information about the lede-commits
mailing list