From: Christian Marangi Date: Fri, 11 Apr 2025 09:38:55 +0000 (+0200) Subject: generic: add missing of.h header to ar8327 X-Git-Tag: v25.12.0-rc1~3148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b5650f76783b215a6bfa22bde45973474a0d04f;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/target/linux/generic/files/drivers/net/phy/ar8327.c b/target/linux/generic/files/drivers/net/phy/ar8327.c index cf9c2dc3c16..ff9ff5df3c3 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