]> git.baikalelectronics.ru Git - kernel.git/commit
brcmsmac: rework LED dependencies
authorArnd Bergmann <arnd@arndb.de>
Sat, 4 Dec 2021 17:38:34 +0000 (18:38 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 8 Dec 2021 18:17:06 +0000 (20:17 +0200)
commit08879d4dd4a95a53684b9f3578868b7cf4ee7d38
treeb90fef3b9816b5c105ee2d8360279af78493e30b
parent37ff6d280681a9f22c2f39c61b18fdb9fc94bfff
brcmsmac: rework LED dependencies

This is now the only driver that selects the LEDS_CLASS framework,
which is normally user-selectable. While it doesn't strictly cause
a bug, rework the Kconfig logic to be more consistent with what
other drivers do, and only enable LED support in brcmsmac if the
dependencies are all there, rather than using 'select' to enable
what it needs.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211204173848.873293-2-arnd@kernel.org
drivers/net/wireless/broadcom/brcm80211/Kconfig
drivers/net/wireless/broadcom/brcm80211/brcmsmac/Makefile
drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.h