Message ID | 20250228004534.3428681-1-kuba@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | c34424eb3be4c01db831428c0d7d483701ae820f |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net] net: dsa: rtl8366rb: don't prompt users for LED control | expand |
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni <pabeni@redhat.com>: On Thu, 27 Feb 2025 16:45:34 -0800 you wrote: > 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> > --- > Sending for net because the symbol was added in net. > Trying to catch it before its released. > > [...] Here is the summary with links: - [net] net: dsa: rtl8366rb: don't prompt users for LED control https://git.kernel.org/netdev/net/c/c34424eb3be4 You are awesome, thank you!
diff --git a/drivers/net/dsa/realtek/Kconfig b/drivers/net/dsa/realtek/Kconfig index 10687722d14c..d6eb6713e5f6 100644 --- a/drivers/net/dsa/realtek/Kconfig +++ b/drivers/net/dsa/realtek/Kconfig @@ -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
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> --- Sending for net because the symbol was added in net. Trying to catch it before its released. CC: linus.walleij@linaro.org CC: alsi@bang-olufsen.dk CC: andrew@lunn.ch CC: olteanv@gmail.com --- drivers/net/dsa/realtek/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)