diff options
author | Emese Revfy <re.emese@gmail.com> | 2009-12-13 18:59:53 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-22 13:56:09 -0500 |
commit | 45d5d805988f1f3c0b24dac59fbba771b1f106a8 (patch) | |
tree | d139a97dc38d3dfed832b962c66bba2e29bbe533 | |
parent | ba37a3d0395a66b3c9164c4f4d1318317da32e96 (diff) |
iwlwifi: Constify struct iwl_ops
Signed-off-by: Emese Revfy <re.emese@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-1000.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c index 5759f91343a5..0db1fda94a65 100644 --- a/drivers/net/wireless/iwlwifi/iwl-1000.c +++ b/drivers/net/wireless/iwlwifi/iwl-1000.c | |||
@@ -141,7 +141,7 @@ static struct iwl_lib_ops iwl1000_lib = { | |||
141 | }, | 141 | }, |
142 | }; | 142 | }; |
143 | 143 | ||
144 | static struct iwl_ops iwl1000_ops = { | 144 | static const struct iwl_ops iwl1000_ops = { |
145 | .ucode = &iwl5000_ucode, | 145 | .ucode = &iwl5000_ucode, |
146 | .lib = &iwl1000_lib, | 146 | .lib = &iwl1000_lib, |
147 | .hcmd = &iwl5000_hcmd, | 147 | .hcmd = &iwl5000_hcmd, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 7da1dab933d9..3708b5c204e6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2811,7 +2811,7 @@ static struct iwl_hcmd_utils_ops iwl3945_hcmd_utils = { | |||
2811 | .rts_tx_cmd_flag = iwlcore_rts_tx_cmd_flag, | 2811 | .rts_tx_cmd_flag = iwlcore_rts_tx_cmd_flag, |
2812 | }; | 2812 | }; |
2813 | 2813 | ||
2814 | static struct iwl_ops iwl3945_ops = { | 2814 | static const struct iwl_ops iwl3945_ops = { |
2815 | .ucode = &iwl3945_ucode, | 2815 | .ucode = &iwl3945_ucode, |
2816 | .lib = &iwl3945_lib, | 2816 | .lib = &iwl3945_lib, |
2817 | .hcmd = &iwl3945_hcmd, | 2817 | .hcmd = &iwl3945_hcmd, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 34778cf120fc..a5e3384d56b3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2208,7 +2208,7 @@ static struct iwl_lib_ops iwl4965_lib = { | |||
2208 | }, | 2208 | }, |
2209 | }; | 2209 | }; |
2210 | 2210 | ||
2211 | static struct iwl_ops iwl4965_ops = { | 2211 | static const struct iwl_ops iwl4965_ops = { |
2212 | .ucode = &iwl4965_ucode, | 2212 | .ucode = &iwl4965_ucode, |
2213 | .lib = &iwl4965_lib, | 2213 | .lib = &iwl4965_lib, |
2214 | .hcmd = &iwl4965_hcmd, | 2214 | .hcmd = &iwl4965_hcmd, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 3236315c75be..f2b1915530e7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -1556,7 +1556,7 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
1556 | }, | 1556 | }, |
1557 | }; | 1557 | }; |
1558 | 1558 | ||
1559 | static struct iwl_ops iwl5000_ops = { | 1559 | static const struct iwl_ops iwl5000_ops = { |
1560 | .ucode = &iwl5000_ucode, | 1560 | .ucode = &iwl5000_ucode, |
1561 | .lib = &iwl5000_lib, | 1561 | .lib = &iwl5000_lib, |
1562 | .hcmd = &iwl5000_hcmd, | 1562 | .hcmd = &iwl5000_hcmd, |
@@ -1564,7 +1564,7 @@ static struct iwl_ops iwl5000_ops = { | |||
1564 | .led = &iwlagn_led_ops, | 1564 | .led = &iwlagn_led_ops, |
1565 | }; | 1565 | }; |
1566 | 1566 | ||
1567 | static struct iwl_ops iwl5150_ops = { | 1567 | static const struct iwl_ops iwl5150_ops = { |
1568 | .ucode = &iwl5000_ucode, | 1568 | .ucode = &iwl5000_ucode, |
1569 | .lib = &iwl5150_lib, | 1569 | .lib = &iwl5150_lib, |
1570 | .hcmd = &iwl5000_hcmd, | 1570 | .hcmd = &iwl5000_hcmd, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 788457ae25a8..a5a0ed4817a4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -253,7 +253,7 @@ static struct iwl_lib_ops iwl6000_lib = { | |||
253 | }, | 253 | }, |
254 | }; | 254 | }; |
255 | 255 | ||
256 | static struct iwl_ops iwl6000_ops = { | 256 | static const struct iwl_ops iwl6000_ops = { |
257 | .ucode = &iwl5000_ucode, | 257 | .ucode = &iwl5000_ucode, |
258 | .lib = &iwl6000_lib, | 258 | .lib = &iwl6000_lib, |
259 | .hcmd = &iwl5000_hcmd, | 259 | .hcmd = &iwl5000_hcmd, |
@@ -268,7 +268,7 @@ static struct iwl_hcmd_utils_ops iwl6050_hcmd_utils = { | |||
268 | .calc_rssi = iwl5000_calc_rssi, | 268 | .calc_rssi = iwl5000_calc_rssi, |
269 | }; | 269 | }; |
270 | 270 | ||
271 | static struct iwl_ops iwl6050_ops = { | 271 | static const struct iwl_ops iwl6050_ops = { |
272 | .ucode = &iwl5000_ucode, | 272 | .ucode = &iwl5000_ucode, |
273 | .lib = &iwl6000_lib, | 273 | .lib = &iwl6000_lib, |
274 | .hcmd = &iwl5000_hcmd, | 274 | .hcmd = &iwl5000_hcmd, |