diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-03-16 13:23:29 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-03-25 14:17:04 -0400 |
commit | 792bc3cbe06cddabd865acc3122ee0415f854a11 (patch) | |
tree | cf50819d0950d45429f9f4cf8b7d0241ee9d727a /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | 872c8ddcbec06995c1c7caa3e41c921290a8b6df (diff) |
iwlwifi: move ucode loading related code to separated file
Multiple iwlagn based devices shared the same ucode loading procedure.
Move loading related code from iwl-5000.c to iwl-agn-ucode.c file.
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-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index d75799946a7e..4026eb4e7faa 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -284,7 +284,7 @@ static struct iwl_lib_ops iwl6000_lib = { | |||
284 | }; | 284 | }; |
285 | 285 | ||
286 | static const struct iwl_ops iwl6000_ops = { | 286 | static const struct iwl_ops iwl6000_ops = { |
287 | .ucode = &iwl5000_ucode, | 287 | .ucode = &iwlagn_ucode, |
288 | .lib = &iwl6000_lib, | 288 | .lib = &iwl6000_lib, |
289 | .hcmd = &iwl5000_hcmd, | 289 | .hcmd = &iwl5000_hcmd, |
290 | .utils = &iwl5000_hcmd_utils, | 290 | .utils = &iwl5000_hcmd_utils, |
@@ -352,7 +352,7 @@ static struct iwl_lib_ops iwl6050_lib = { | |||
352 | }; | 352 | }; |
353 | 353 | ||
354 | static const struct iwl_ops iwl6050_ops = { | 354 | static const struct iwl_ops iwl6050_ops = { |
355 | .ucode = &iwl5000_ucode, | 355 | .ucode = &iwlagn_ucode, |
356 | .lib = &iwl6050_lib, | 356 | .lib = &iwl6050_lib, |
357 | .hcmd = &iwl5000_hcmd, | 357 | .hcmd = &iwl5000_hcmd, |
358 | .utils = &iwl5000_hcmd_utils, | 358 | .utils = &iwl5000_hcmd_utils, |