projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b2b2ff
)
ath5k: sparse fix ath5k_led_on needs to be static
author
Luis R. Rodriguez
<
[email protected]
>
Tue, 31 Mar 2009 02:30:35 +0000
(22:30 -0400)
committer
John W. Linville
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath5k/led.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath5k/led.c
b/drivers/net/wireless/ath/ath5k/led.c
index 19555fb79c9b09a31c1f1dcc5fb366a7dc1b20b6..006f7716168e674fa1385c1c2a382d9071e26262 100644
(file)
--- 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;