mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-06-29 23:43:21 -04:00
With LEDS_CLASS=m, a built-in qca8k driver fails to link:
arm-linux-gnueabi-ld: drivers/net/dsa/qca/qca8k-leds.o: in function `qca8k_setup_led_ctrl':
qca8k-leds.c:(.text+0x1ea): undefined reference to `devm_led_classdev_register_ext'
Change the dependency to avoid the broken configuration.
Fixes:
|
||
---|---|---|
.. | ||
ar9331.c | ||
Kconfig | ||
Makefile | ||
qca8k-8xxx.c | ||
qca8k-common.c | ||
qca8k-leds.c | ||
qca8k.h | ||
qca8k_leds.h |