realtek: add missing of.h include in phy driver
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Wed, 30 Mar 2022 03:04:23 +0000 (12:04 +0900)
committerSander Vanheule <sander@svanheule.net>
Sat, 8 Oct 2022 09:05:02 +0000 (11:05 +0200)
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>
target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c

index 259458b1beef1c71b26dd2853980bd55dc1a6a52..491ceb48b6a0a39a899b01467c3e5d22940f5b48 100644 (file)
@@ -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>