aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-10-20 09:59:36 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:23:16 -0500
commita3685d119dacb07a7080169fea2847ef385b209f (patch)
tree90de5cdb941edd4a19bf3ba45106367d3fc332a9
parentbabcbc295fee766ca710235e431686fef744d9a6 (diff)
ath: make ath_hw_keysetmac() static
This fixes this sparse warning: CHECK drivers/net/wireless/ath/key.c drivers/net/wireless/ath/key.c:70:6: warning: symbol 'ath_hw_keysetmac' 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>
-rw-r--r--drivers/net/wireless/ath/key.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/key.c b/drivers/net/wireless/ath/key.c
index bd21a4d82085..1e9aa326ca08 100644
--- a/drivers/net/wireless/ath/key.c
+++ b/drivers/net/wireless/ath/key.c
@@ -67,7 +67,8 @@ bool ath_hw_keyreset(struct ath_common *common, u16 entry)
67} 67}
68EXPORT_SYMBOL(ath_hw_keyreset); 68EXPORT_SYMBOL(ath_hw_keyreset);
69 69
70bool ath_hw_keysetmac(struct ath_common *common, u16 entry, const u8 *mac) 70static bool ath_hw_keysetmac(struct ath_common *common,
71 u16 entry, const u8 *mac)
71{ 72{
72 u32 macHi, macLo; 73 u32 macHi, macLo;
73 u32 unicast_flag = AR_KEYTABLE_VALID; 74 u32 unicast_flag = AR_KEYTABLE_VALID;