]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net: dsa: rtl8366rb: don't prompt users for LED control
authorJakub Kicinski <kuba@kernel.org>
Fri, 28 Feb 2025 00:45:34 +0000 (16:45 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:29 +0000 (14:39 +0200)
[ Upstream commit c34424eb3be4c01db831428c0d7d483701ae820f ]

Make NET_DSA_REALTEK_RTL8366RB_LEDS a hidden symbol.
It seems very unlikely user would want to intentionally
disable it.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250228004534.3428681-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/realtek/Kconfig

index 10687722d14c0878e67d8c5f1011d95561f63211..d6eb6713e5f6baf0e01f8992fed12951b2db8de6 100644 (file)
@@ -44,7 +44,7 @@ config NET_DSA_REALTEK_RTL8366RB
          Select to enable support for Realtek RTL8366RB.
 
 config NET_DSA_REALTEK_RTL8366RB_LEDS
-       bool "Support RTL8366RB LED control"
+       bool
        depends on (LEDS_CLASS=y || LEDS_CLASS=NET_DSA_REALTEK_RTL8366RB)
        depends on NET_DSA_REALTEK_RTL8366RB
        default NET_DSA_REALTEK_RTL8366RB