Search Linux Wireless

[PATCH] mt76: enable MAC80211_LEDS by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Select mac80211 led support by default in order to fix the following
compilation error that occurs when CONFIG_LEDS_CLASS/CONFIG_MAC80211_LEDS
options are not enabled on the system

ERROR: "devm_of_led_classdev_register" undefined!

Fixes: 17f1de56df05 ("mt76: add common code shared between multiple chipsets")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@xxxxxxxxxx>
---
 drivers/net/wireless/mediatek/mt76/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig
index fc05d79c80d0..0bbd492c2c2b 100644
--- a/drivers/net/wireless/mediatek/mt76/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/Kconfig
@@ -1,5 +1,8 @@
 config MT76_CORE
 	tristate
+	select MAC80211_LEDS
+	select LEDS_CLASS
+	select NEW_LEDS
 
 config MT76x2E
 	tristate "MediaTek MT76x2E (PCIe) support"
-- 
2.14.3




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux