Skip to contentSkip to conversation

r8169: make Kconfig option for LED support user-visible

PATCH Applied Heiner Kallweit 3 participants 3 messages Feb 3, 2025 – Feb 5, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 r8169: make Kconfig option for LED support user-visible

Make config option R8169_LEDS user-visible, so that users can remove support if not needed.

---
 drivers/net/ethernet/realtek/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/realtek/Kconfig +2 -1
index 8a8ea51c6..fe136f615 100644
@@ -114,7 +114,8 @@ config R8169
 	  will be called r8169.  This is recommended.
 
 config R8169_LEDS
-	def_bool R8169 && LEDS_TRIGGER_NETDEV
+	bool "Support for controlling the NIC LEDs"
+	depends on R8169 && LEDS_TRIGGER_NETDEV
 	depends on !(R8169=y && LEDS_CLASS=m)
 	help
 	  Optional support for controlling the NIC LED's with the netdev
Signature · 1 line
2.48.1
#2 lore raw
In reply to Heiner Kallweit
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 7 lines · On Mon, 3 Feb 2025 21:35:24 +0100 you wrote:

Make config option R8169_LEDS user-visible, so that users can remove support if not needed.

---
 drivers/net/ethernet/realtek/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Here is the summary with links:
- [net-next] r8169: make Kconfig option for LED support user-visible

    https://git.kernel.org/netdev/net-next/c/135c3c86a7ce

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html