From 0b5650f76783b215a6bfa22bde45973474a0d04f Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Fri, 11 Apr 2025 11:38:55 +0200 Subject: [PATCH] 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 Signed-off-by: Mieczyslaw Nalewaj Link: https://github.com/openwrt/openwrt/pull/18455 Signed-off-by: Christian Marangi --- target/linux/generic/files/drivers/net/phy/ar8327.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include +#include #include #include #include