diff options
author | Jay Sternberg <jay.e.sternberg@linux.intel.com> | 2009-01-19 18:30:33 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:01:02 -0500 |
commit | cec2d3f38c11f4c7e28ec2a065698653dbccfbb7 (patch) | |
tree | 6481a1795e4dbf23d66ea1e451984f248f7a6ec5 /drivers/net | |
parent | f82d8d9724b6054b63fb3a0108937064029b2c00 (diff) |
iwlwifi: remove static from 5000 structures
remove static from config structures which will be used by new
hardware that is similar to 5000. This way the new devices
can use them without the new structures having to be stored in the
already overloaded iwl-5000.c file.
Signed-off-by: Jay Sternberg <jay.e.sternberg@linux.intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index a35af671f850..04c2585a6341 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -1528,13 +1528,13 @@ static struct iwl_lib_ops iwl5000_lib = { | |||
1528 | }, | 1528 | }, |
1529 | }; | 1529 | }; |
1530 | 1530 | ||
1531 | static struct iwl_ops iwl5000_ops = { | 1531 | struct iwl_ops iwl5000_ops = { |
1532 | .lib = &iwl5000_lib, | 1532 | .lib = &iwl5000_lib, |
1533 | .hcmd = &iwl5000_hcmd, | 1533 | .hcmd = &iwl5000_hcmd, |
1534 | .utils = &iwl5000_hcmd_utils, | 1534 | .utils = &iwl5000_hcmd_utils, |
1535 | }; | 1535 | }; |
1536 | 1536 | ||
1537 | static struct iwl_mod_params iwl50_mod_params = { | 1537 | struct iwl_mod_params iwl50_mod_params = { |
1538 | .num_of_queues = IWL50_NUM_QUEUES, | 1538 | .num_of_queues = IWL50_NUM_QUEUES, |
1539 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, | 1539 | .num_of_ampdu_queues = IWL50_NUM_AMPDU_QUEUES, |
1540 | .amsdu_size_8K = 1, | 1540 | .amsdu_size_8K = 1, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 9dc6e3cc247e..2602944a08a3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -58,6 +58,10 @@ extern struct iwl_cfg iwl5100_bg_cfg; | |||
58 | extern struct iwl_cfg iwl5100_abg_cfg; | 58 | extern struct iwl_cfg iwl5100_abg_cfg; |
59 | extern struct iwl_cfg iwl5150_agn_cfg; | 59 | extern struct iwl_cfg iwl5150_agn_cfg; |
60 | 60 | ||
61 | /* shared structures from iwl-5000.c */ | ||
62 | extern struct iwl_mod_params iwl50_mod_params; | ||
63 | extern struct iwl_ops iwl5000_ops; | ||
64 | |||
61 | /* CT-KILL constants */ | 65 | /* CT-KILL constants */ |
62 | #define CT_KILL_THRESHOLD 110 /* in Celsius */ | 66 | #define CT_KILL_THRESHOLD 110 /* in Celsius */ |
63 | 67 | ||