ath5k: sparse fix ath5k_led_on needs to be static
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 31 Mar 2009 02:30:35 +0000 (22:30 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:39 +0000 (16:54 -0400)
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 <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/led.c

index 19555fb79c9b09a31c1f1dcc5fb366a7dc1b20b6..006f7716168e674fa1385c1c2a382d9071e26262 100644 (file)
@@ -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;