[openwrt/openwrt] realtek: add missing symbol

LEDE Commits lede-commits at lists.infradead.org
Tue May 20 12:54:50 PDT 2025


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/6d41cbf868f4d6c4574c79049d94cbd6cc21f6b8

commit 6d41cbf868f4d6c4574c79049d94cbd6cc21f6b8
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Fri May 2 01:46:25 2025 +0300

    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 <stijn at linux-ipv6.be>
    (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




More information about the lede-commits mailing list