From: Luis R. Rodriguez Date: Wed, 20 Oct 2010 13:59:36 +0000 (-0700) Subject: ath: make ath_hw_keysetmac() static X-Git-Tag: v2.6.38-rc1~476^2~558^2~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3685d119dacb07a7080169fea2847ef385b209f;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/key.c b/drivers/net/wireless/ath/key.c index bd21a4d..1e9aa32 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) } EXPORT_SYMBOL(ath_hw_keyreset); -bool ath_hw_keysetmac(struct ath_common *common, u16 entry, const u8 *mac) +static bool ath_hw_keysetmac(struct ath_common *common, + u16 entry, const u8 *mac) { u32 macHi, macLo; u32 unicast_flag = AR_KEYTABLE_VALID;