ath9k and ath9k_htc: rename variable "led_blink"
authorHong Xu <hong@topbug.net>
Sat, 24 Jan 2015 11:34:03 +0000 (03:34 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Jan 2015 18:06:27 +0000 (20:06 +0200)
commit0c8a1e43aa3a1cefe125fd9385057aba5b4b4873
tree04dfc1a34f8f42ecc143407df606630e81a6f4a5
parent0b70dc273c13da02241b5b9e76fca5a714bd2965
ath9k and ath9k_htc: rename variable "led_blink"

ath9k and ath9k_htc use the variable name "led_blink" to indicate
whether the module parameter "blink" is on. This name is easy to
conflict with other variables, and has caused a compiler error found
by kbuild test bot. The compiler error is as following:

drivers/net/wireless/ath/ath9k/ath9k_htc.o:(.data+0x47c): multiple definition of `led_blink'
drivers/net/wireless/ath/ath9k/ath9k.o:(.bss+0x20): first defined here

Fixes: 3a939a671225 ("ath9k_htc: Add a module parameter to disable blink")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Hong Xu <hong@topbug.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/gpio.c
drivers/net/wireless/ath/ath9k/htc.h
drivers/net/wireless/ath/ath9k/htc_drv_gpio.c
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/init.c