kernel: netdevices: rtl8366: ensure CONFIG_NET_DSA_REALTEK_RTL8366RB_LEDS is enabled
authorMathew McBride <[email protected]>
Tue, 18 Mar 2025 23:00:52 +0000 (10:00 +1100)
committerHauke Mehrtens <[email protected]>
Wed, 11 Jun 2025 12:16:21 +0000 (14:16 +0200)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18654
Signed-off-by: Hauke Mehrtens <[email protected]>
package/kernel/linux/modules/netdevices.mk

index b40345d213183c49f5a309b278eaa06011a077be..58732b14d86dac82c6ef3487284a087f13b92eca 100644 (file)
@@ -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 \