summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2025-04-11 09:38:55 +0000
committerChristian Marangi2025-04-11 18:34:24 +0000
commit0b5650f76783b215a6bfa22bde45973474a0d04f (patch)
treef56733de5ed09c0b3c07d2329b1d93a8c58cd438
parentf8ed36f0d7215033745523b7082195339a248609 (diff)
downloadopenwrt-0b5650f76783b215a6bfa22bde45973474a0d04f.tar.gz
generic: add missing of.h header to ar8327
It seems new kernel linux version reorganized the header include and now of.h needs to be explicitly included. This should have been done from when the driver was introduced. Add the missing of.h header to fix compilation error in later kernel version. Co-authored-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/18455 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8327.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8327.c b/target/linux/generic/files/drivers/net/phy/ar8327.c
index cf9c2dc3c1..ff9ff5df3c 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8327.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8327.c
@@ -23,6 +23,7 @@
#include <linux/lockdep.h>
#include <linux/ar8216_platform.h>
#include <linux/workqueue.h>
+#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/leds.h>
#include <linux/mdio.h>