Search Linux Wireless

Re: [PATCH] net: wireless: mediatek: fix mt76 LEDS build error

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

 



> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> 
> All of the mt76 driver options use its mac80211.o component,
> which uses led interfaces, so each of them should depend on
> LEDS_CLASS.
> 
> Fixes this build error:
> 
> drivers/net/wireless/mediatek/mt76/mac80211.o: In function `mt76_led_init':
> drivers/net/wireless/mediatek/mt76/mac80211.c:119: undefined reference to `devm_of_led_classdev_register'
> 
> Fixes: 17f1de56df05 ("mt76: add common code shared between multiple chipsets")
> 

Hi Randy,

a fix for it has been already proposed by Arnd here:
https://marc.info/?l=linux-wireless&m=151628136830540&w=2
but it has not been applied yet

Regards,
Lorenzo



[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