aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-07-07 11:33:01 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-07-16 10:37:28 -0400
commit90c300cbd89e76789dbff101a1cb1ec226af277f (patch)
tree2b25a09768aab208765fc28795bdd7c1874a9199 /drivers/net/wireless/iwlwifi/iwl-core.h
parente505c433d35900d98870a2e266759166a03030dc (diff)
iwlagn: remove dual-indirect call to simply the code
After driver split, no need to make the code so complex Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index 692c30cb2fac..d6d2760c7c38 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -108,11 +108,6 @@ struct iwl_nic_ops {
108 void (*additional_nic_config)(struct iwl_priv *priv); 108 void (*additional_nic_config)(struct iwl_priv *priv);
109}; 109};
110 110
111struct iwl_ops {
112 const struct iwl_lib_ops *lib;
113 const struct iwl_nic_ops *nic;
114};
115
116struct iwl_mod_params { 111struct iwl_mod_params {
117 int sw_crypto; /* def: 0 = using hardware encryption */ 112 int sw_crypto; /* def: 0 = using hardware encryption */
118 int num_of_queues; /* def: HW dependent */ 113 int num_of_queues; /* def: HW dependent */
@@ -247,7 +242,8 @@ struct iwl_cfg {
247 u16 sku; 242 u16 sku;
248 u16 eeprom_ver; 243 u16 eeprom_ver;
249 u16 eeprom_calib_ver; 244 u16 eeprom_calib_ver;
250 const struct iwl_ops *ops; 245 const struct iwl_lib_ops *lib;
246 const struct iwl_nic_ops *nic;
251 /* params not likely to change within a device family */ 247 /* params not likely to change within a device family */
252 struct iwl_base_params *base_params; 248 struct iwl_base_params *base_params;
253 /* params likely to change within a device family */ 249 /* params likely to change within a device family */