From: Abhijeet Kolekar Date: Wed, 11 Mar 2009 18:17:54 +0000 (-0700) Subject: iwl3945: fix sparse error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa11d525ef9e4870a080868a7588d27ca8e87c5e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git iwl3945: fix sparse error error is: iwl3945-base.c:545:5: warning: symbol 'iwl3945_set_dynamic_key' was not declared. Should it be static? Signed-off-by: Abhijeet Kolekar Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 12166cea3860..6b44c1f13c58 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c @@ -542,7 +542,7 @@ static int iwl3945_clear_sta_key_info(struct iwl_priv *priv, u8 sta_id) return 0; } -int iwl3945_set_dynamic_key(struct iwl_priv *priv, +static int iwl3945_set_dynamic_key(struct iwl_priv *priv, struct ieee80211_key_conf *keyconf, u8 sta_id) { int ret = 0;