Skip to content

Commit

Permalink
ath5k: sparse fix ath5k_led_on needs to be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Apr 22, 2009
1 parent 6b2b2ff commit 75c2148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath5k/led.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 75c2148

Please sign in to comment.