net: phy: realtek: make HWMON support a user-visible Kconfig symbol
Subsystems (3)
Heiner Kallweit
maintainerPATCH 1/1 net: phy: realtek: make HWMON support a user-visible Kconfig symbol
Make config symbol REALTEK_PHY_HWMON user-visible, so that users can remove support if not needed.
Suggested-by Geert Uytterhoeven <[email protected]>
Signed-off-by Heiner Kallweit <[email protected]>
--- drivers/net/phy/realtek/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
drivers/net/phy/realtek/Kconfig +6 -2
@@ -4,8 +4,12 @@ config REALTEK_PHY help Currently supports RTL821x/RTL822x and fast ethernet PHYs +if REALTEK_PHY + config REALTEK_PHY_HWMON - def_bool REALTEK_PHY && HWMON - depends on !(REALTEK_PHY=y && HWMON=m) + bool "HWMON support for Realtek PHYs" + depends on HWMON && !(REALTEK_PHY=y && HWMON=m) help Optional hwmon support for the temperature sensor + +endif # REALTEK_PHY
Signature · 1 line
2.48.1
Quoted 5 lines · Heiner Kallweit
Make config symbol
REALTEK_PHY_HWMONuser-visible, so that users can remove support if not needed.Suggested-by Geert Uytterhoeven <[email protected]>Signed-off-by Heiner Kallweit <[email protected]>
Reviewed-by Simon Horman <[email protected]>
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Mon, 3 Feb 2025 21:33:39 +0100 you wrote:
Make config symbol
REALTEK_PHY_HWMONuser-visible, so that users can remove support if not needed.Suggested-by Geert Uytterhoeven <[email protected]>Signed-off-by Heiner Kallweit <[email protected]>--- drivers/net/phy/realtek/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Here is the summary with links:
- [net-next] net: phy: realtek: make HWMON support a user-visible Kconfig symbol
https://git.kernel.org/netdev/net-next/c/51773846fab2
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html