aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmese Revfy <re.emese@gmail.com>2009-12-13 18:59:53 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-22 13:56:09 -0500
commit45d5d805988f1f3c0b24dac59fbba771b1f106a8 (patch)
treed139a97dc38d3dfed832b962c66bba2e29bbe533
parentba37a3d0395a66b3c9164c4f4d1318317da32e96 (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.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c4
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-6000.c4
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
144static struct iwl_ops iwl1000_ops = { 144static 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
2814static struct iwl_ops iwl3945_ops = { 2814static 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
2211static struct iwl_ops iwl4965_ops = { 2211static 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
1559static struct iwl_ops iwl5000_ops = { 1559static 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
1567static struct iwl_ops iwl5150_ops = { 1567static 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
256static struct iwl_ops iwl6000_ops = { 256static 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
271static struct iwl_ops iwl6050_ops = { 271static 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,