]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ath: make ath_hw_set_keycache_entry() static
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 20 Oct 2010 13:59:37 +0000 (06:59 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:23:17 +0000 (13:23 -0500)
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>
drivers/net/wireless/ath/key.c

index 1e9aa326ca080fff21893fc162e3467864111919..62e3dac8f92a688e38f53d110a0a1478afe33899 100644 (file)
@@ -108,9 +108,9 @@ static bool ath_hw_keysetmac(struct ath_common *common,
        return true;
 }
 
-bool ath_hw_set_keycache_entry(struct ath_common *common, u16 entry,
-                                const struct ath_keyval *k,
-                                const u8 *mac)
+static bool ath_hw_set_keycache_entry(struct ath_common *common, u16 entry,
+                                     const struct ath_keyval *k,
+                                     const u8 *mac)
 {
        void *ah = common->ah;
        u32 key0, key1, key2, key3, key4;