From a48ff83193311acf5ce0d31fe058eeb910d911ef Mon Sep 17 00:00:00 2001 From: Mathew McBride Date: Wed, 19 Mar 2025 10:00:52 +1100 Subject: [PATCH] kernel: netdevices: rtl8366: ensure CONFIG_NET_DSA_REALTEK_RTL8366RB_LEDS is enabled Add new setting CONFIG_NET_DSA_REALTEK_RTL8366RB_LEDS which was introduced in kernel 6.12 and allows enabling LEDs for the Realtek RTL8366RB subdriver. Signed-off-by: Mathew McBride Link: https://github.com/openwrt/openwrt/pull/18654 Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netdevices.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index b40345d2131..58732b14d86 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -694,6 +694,7 @@ define KernelPackage/dsa-rtl8366rb DEPENDS:=+kmod-dsa-realtek @!TARGET_x86 @!TARGET_bcm47xx @!TARGET_uml KCONFIG:= \ CONFIG_NET_DSA_REALTEK_RTL8366RB \ + CONFIG_NET_DSA_REALTEK_RTL8366RB_LEDS=y \ CONFIG_NET_DSA_TAG_RTL4_A FILES:= \ $(LINUX_DIR)/drivers/net/dsa/realtek/rtl8366.ko \