浏览代码

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 <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Luis R. Rodriguez 16 年之前
父节点
当前提交
75c2148fa5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/wireless/ath/ath5k/led.c

+ 1 - 1
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))
 	if (!test_bit(ATH_STAT_LEDSOFT, sc->status))
 		return;
 		return;