diff options
author | Arnd Bergmann <[email protected]> | 2023-02-17 10:59:04 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-02-17 18:30:44 +0200 |
commit | 38ae3192296924181537544e7cfc43ca78eadcda (patch) | |
tree | 49982a0e541d191186e75857a55a36cd14aa3ddf /lib/netdev-notifier-error-inject.c | |
parent | 3a156b52c73c9491441799bbbac18075bf96480e (diff) |
wifi: rtl8xxxu: add LEDS_CLASS dependency
rtl8xxxu now unconditionally uses LEDS_CLASS, so a Kconfig dependency
is required to avoid link errors:
aarch64-linux-ld: drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.o: in function `rtl8xxxu_disconnect':
rtl8xxxu_core.c:(.text+0x730): undefined reference to `led_classdev_unregister'
ERROR: modpost: "led_classdev_unregister" [drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko] undefined!
ERROR: modpost: "led_classdev_register_ext" [drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko] undefined!
Fixes: 3be01622995b ("wifi: rtl8xxxu: Register the LED and make it blink")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions