From: Luis R. Rodriguez Date: Tue, 31 Mar 2009 02:30:35 +0000 (-0400) Subject: ath5k: sparse fix ath5k_led_on needs to be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=75c2148fa5330c6de741fc96e3308f57d846a6b4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ath5k: sparse fix ath5k_led_on needs to be static drivers/net/wireless/ath/ath5k/led.c:81:6: warning: symbol 'ath5k_led_on' was not declared. Should it be static? Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath5k/led.c b/drivers/net/wireless/ath/ath5k/led.c index 19555fb79c9b..006f7716168e 100644 --- a/drivers/net/wireless/ath/ath5k/led.c +++ b/drivers/net/wireless/ath/ath5k/led.c @@ -78,7 +78,7 @@ void ath5k_led_enable(struct ath5k_softc *sc) } } -void ath5k_led_on(struct ath5k_softc *sc) +static void ath5k_led_on(struct ath5k_softc *sc) { if (!test_bit(ATH_STAT_LEDSOFT, sc->status)) return;