From 6d41cbf868f4d6c4574c79049d94cbd6cc21f6b8 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Fri, 2 May 2025 01:46:25 +0300 Subject: [PATCH] realtek: add missing symbol Commit d7e82c78d7a2 added a generic kernel patch that exposes a new symbol REALTEK_PHY_HWMON when REALTEK_PHY and HWMON are enabled. The new symbol was added to kmod-phy-realtek, but the kmod is not used in the realtek target. Fixes: d7e82c78d7a2 ("generic: backport Realtek PHY patches from upstream") Signed-off-by: Stijn Tintel (cherry picked from commit ab8708767299c2aebe6a2c1f62abf246214d0d1c) --- target/linux/realtek/rtl838x/config-6.6 | 1 + target/linux/realtek/rtl839x/config-6.6 | 1 + target/linux/realtek/rtl930x/config-6.6 | 1 + 3 files changed, 3 insertions(+) diff --git a/target/linux/realtek/rtl838x/config-6.6 b/target/linux/realtek/rtl838x/config-6.6 index 274073fd63..c93a8c7878 100644 --- a/target/linux/realtek/rtl838x/config-6.6 +++ b/target/linux/realtek/rtl838x/config-6.6 @@ -193,6 +193,7 @@ CONFIG_RATIONAL=y CONFIG_REALTEK_OTTO_TIMER=y CONFIG_REALTEK_OTTO_WDT=y CONFIG_REALTEK_PHY=y +CONFIG_REALTEK_PHY_HWMON=y CONFIG_REALTEK_SOC_PHY=y CONFIG_REGMAP=y CONFIG_REGMAP_I2C=y diff --git a/target/linux/realtek/rtl839x/config-6.6 b/target/linux/realtek/rtl839x/config-6.6 index f29533dab5..e10730ac87 100644 --- a/target/linux/realtek/rtl839x/config-6.6 +++ b/target/linux/realtek/rtl839x/config-6.6 @@ -201,6 +201,7 @@ CONFIG_RATIONAL=y CONFIG_REALTEK_OTTO_TIMER=y CONFIG_REALTEK_OTTO_WDT=y CONFIG_REALTEK_PHY=y +CONFIG_REALTEK_PHY_HWMON=y CONFIG_REALTEK_SOC_PHY=y CONFIG_REGMAP=y CONFIG_REGMAP_I2C=y diff --git a/target/linux/realtek/rtl930x/config-6.6 b/target/linux/realtek/rtl930x/config-6.6 index 2d46945991..c0f3b39c41 100644 --- a/target/linux/realtek/rtl930x/config-6.6 +++ b/target/linux/realtek/rtl930x/config-6.6 @@ -167,6 +167,7 @@ CONFIG_RATIONAL=y CONFIG_REALTEK_OTTO_TIMER=y CONFIG_REALTEK_OTTO_WDT=y CONFIG_REALTEK_PHY=y +CONFIG_REALTEK_PHY_HWMON=y CONFIG_REALTEK_SOC_PHY=y CONFIG_REGMAP=y CONFIG_REGMAP_I2C=y -- 2.30.2