]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k: mark ath_fill_led_pin() static
authorBaoyou Xie <baoyou.xie@linaro.org>
Mon, 29 Aug 2016 12:21:13 +0000 (20:21 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Sep 2016 16:06:05 +0000 (19:06 +0300)
commitc39265f72ae6dbcb0367be808837e2f182095d15
tree34e77cbaaa15271c3ab03c12aa594f67960c9e75
parent7f03d3069381266278c058c4ce8349a0d172da7b
ath9k: mark ath_fill_led_pin() static

We get 1 warning about global functions without a declaration
in the ath9k gpio driver when building with W=1:
drivers/net/wireless/ath/ath9k/gpio.c:25:6: warning: no previous prototype for 'ath_fill_led_pin' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/gpio.c