wifi: rtw89: correct dependency of the multicolor LED
Ping-Ke Shih
maintainerPATCH 1/1 wifi: rtw89: correct dependency of the multicolor LED
The rtw89 depends on multicolor LED module, but for the case multicolor LED is module and rtw89 is built-in driver, like
CONFIG_LEDS_CLASS_MULTICOLOR=m
CONFIG_RTW89=y
CONFIG_RTW89_LEDS_MC=y
The linker reports error:
ld.lld: error: undefined symbol: led_classdev_multicolor_register_ext
Avoid this case, and summerize the supported combination as below
CONFIG_LEDS_CLASS_MULTICOLOR y m m CONFIG_RTW89 y/m m y support O O X
--- drivers/net/wireless/realtek/rtw89/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtw89/Kconfig +1 -1
@@ -215,7 +215,7 @@ config RTW89_LEDS config RTW89_LEDS_MC bool depends on RTW89_LEDS - depends on LEDS_CLASS_MULTICOLOR + depends on LEDS_CLASS_MULTICOLOR=y || LEDS_CLASS_MULTICOLOR=RTW89_CORE imply LEDS_TRIGGER_TIMER default y
base-commit: 73e3b1c94c7d5b4a113e7cbb42665dc2fe3b9d78
Signature · 1 line
2.25.1
Ping-Ke Shih
maintainerQuoted 13 lines · Ping-Ke Shih
The rtw89 depends on multicolor LED module, but for the case multicolor LED is module and rtw89 is built-in driver, like
CONFIG_LEDS_CLASS_MULTICOLOR=m
CONFIG_RTW89=y
CONFIG_RTW89_LEDS_MC=yThe linker reports error:
ld.lld: error: undefined symbol:
led_classdev_multicolor_register_extAvoid this case, and summerize the supported combination as below
Quoted 8 lines
CONFIG_LEDS_CLASS_MULTICOLOR y m m CONFIG_RTW89 y/m m y support O O XFixes 721d90c8509a ("wifi: rtw89: add multicolor LED support for RTL8852CU valve board")Reported-by kernel test robot <[email protected]>Signed-off-by Ping-Ke Shih <[email protected]>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
398660e43ed9 wifi: rtw89: correct dependency of the multicolor LED