]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
r8169: make Kconfig option for LED support user-visible
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 3 Feb 2025 20:35:24 +0000 (21:35 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Feb 2025 02:11:14 +0000 (18:11 -0800)
Make config option R8169_LEDS user-visible, so that users can remove
support if not needed.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/d29f0cdb-32bf-435f-b59d-dc96bca1e3ab@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/Kconfig

index 8a8ea51c639e9c6cf19381b725739dcdb2c740d5..fe136f61586feb6f88d27388b3b6a52ba8ad15ec 100644 (file)
@@ -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