aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-5000.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-03-16 15:37:28 -0400
committerReinette Chatre <reinette.chatre@intel.com>2010-03-25 14:20:18 -0400
commit510cb791ab32a6296e45ebc425a011551bed7bd1 (patch)
treed5534b46c76c1fde52cb75bca55e027a55e35ef8 /drivers/net/wireless/iwlwifi/iwl-5000.c
parent0b5af201b25334f7b9c991b2800693dd4cb4b5f7 (diff)
iwlwifi: remove non-exist extern functions and structures
After re-structure the agn files layout and move all the agn shared functions out from iwl-5000.c, all those functions and data structures do not need to be declare "extern" from iwl-5000.c in iwl-dev.h. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 6c09b2477b95..aaf7e51e6811 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -65,7 +65,7 @@
65#define IWL5150_MODULE_FIRMWARE(api) _IWL5150_MODULE_FIRMWARE(api) 65#define IWL5150_MODULE_FIRMWARE(api) _IWL5150_MODULE_FIRMWARE(api)
66 66
67/* NIC configuration for 5000 series */ 67/* NIC configuration for 5000 series */
68void iwl5000_nic_config(struct iwl_priv *priv) 68static void iwl5000_nic_config(struct iwl_priv *priv)
69{ 69{
70 unsigned long flags; 70 unsigned long flags;
71 u16 radio_cfg; 71 u16 radio_cfg;
@@ -164,7 +164,7 @@ static void iwl5000_set_ct_threshold(struct iwl_priv *priv)
164 priv->hw_params.ct_kill_threshold = CT_KILL_THRESHOLD_LEGACY; 164 priv->hw_params.ct_kill_threshold = CT_KILL_THRESHOLD_LEGACY;
165} 165}
166 166
167int iwl5000_hw_set_hw_params(struct iwl_priv *priv) 167static int iwl5000_hw_set_hw_params(struct iwl_priv *priv)
168{ 168{
169 if (priv->cfg->mod_params->num_of_queues >= IWL_MIN_NUM_QUEUES && 169 if (priv->cfg->mod_params->num_of_queues >= IWL_MIN_NUM_QUEUES &&
170 priv->cfg->mod_params->num_of_queues <= IWLAGN_NUM_QUEUES) 170 priv->cfg->mod_params->num_of_queues <= IWLAGN_NUM_QUEUES)
@@ -266,7 +266,7 @@ static int iwl5000_hw_channel_switch(struct iwl_priv *priv, u16 channel)
266 return iwl_send_cmd_sync(priv, &hcmd); 266 return iwl_send_cmd_sync(priv, &hcmd);
267} 267}
268 268
269struct iwl_lib_ops iwl5000_lib = { 269static struct iwl_lib_ops iwl5000_lib = {
270 .set_hw_params = iwl5000_hw_set_hw_params, 270 .set_hw_params = iwl5000_hw_set_hw_params,
271 .txq_update_byte_cnt_tbl = iwlagn_txq_update_byte_cnt_tbl, 271 .txq_update_byte_cnt_tbl = iwlagn_txq_update_byte_cnt_tbl,
272 .txq_inval_byte_cnt_tbl = iwlagn_txq_inval_byte_cnt_tbl, 272 .txq_inval_byte_cnt_tbl = iwlagn_txq_inval_byte_cnt_tbl,