diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-10-20 09:59:37 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 13:23:17 -0500 |
commit | f8c2a0871b8462481a02445b38a7321ad63bfc88 (patch) | |
tree | 6d76caaa7ffe404709ed435d3b9739ed54aae4a0 /drivers/net | |
parent | a3685d119dacb07a7080169fea2847ef385b209f (diff) |
ath: make ath_hw_set_keycache_entry() static
This fixes this sparse warning:
CHECK drivers/net/wireless/ath/key.c
drivers/net/wireless/ath/key.c:110:6: warning: symbol
'ath_hw_set_keycache_entry' 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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/key.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/key.c b/drivers/net/wireless/ath/key.c index 1e9aa326ca08..62e3dac8f92a 100644 --- a/drivers/net/wireless/ath/key.c +++ b/drivers/net/wireless/ath/key.c | |||
@@ -108,9 +108,9 @@ static bool ath_hw_keysetmac(struct ath_common *common, | |||
108 | return true; | 108 | return true; |
109 | } | 109 | } |
110 | 110 | ||
111 | bool ath_hw_set_keycache_entry(struct ath_common *common, u16 entry, | 111 | static bool ath_hw_set_keycache_entry(struct ath_common *common, u16 entry, |
112 | const struct ath_keyval *k, | 112 | const struct ath_keyval *k, |
113 | const u8 *mac) | 113 | const u8 *mac) |
114 | { | 114 | { |
115 | void *ah = common->ah; | 115 | void *ah = common->ah; |
116 | u32 key0, key1, key2, key3, key4; | 116 | u32 key0, key1, key2, key3, key4; |