]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
iwl3945: fix sparse error
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Wed, 11 Mar 2009 18:17:54 +0000 (11:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:45 +0000 (18:09 -0400)
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 <abhijeet.kolekar@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c

index 12166cea38600550d71fcbf9bbce303a929708d5..6b44c1f13c58a78d32e753e98f0edf42d0a500e5 100644 (file)
@@ -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;