summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-5000.c
diff options
context:
space:
mode:
authorEmese Revfy <re.emese@gmail.com>2009-12-14 00:59:53 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-12-22 13:56:09 -0500
commit45d5d805988f1f3c0b24dac59fbba771b1f106a8 (patch)
treed139a97dc38d3dfed832b962c66bba2e29bbe533 /drivers/net/wireless/iwlwifi/iwl-5000.c
parentba37a3d0395a66b3c9164c4f4d1318317da32e96 (diff)
downloadkernel-common-45d5d805988f1f3c0b24dac59fbba771b1f106a8.tar.gz
kernel-common-45d5d805988f1f3c0b24dac59fbba771b1f106a8.tar.bz2
kernel-common-45d5d805988f1f3c0b24dac59fbba771b1f106a8.zip
iwlwifi: Constify struct iwl_ops
Signed-off-by: Emese Revfy <re.emese@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c4
1 files changed, 2 insertions, 2 deletions
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 = {
},
};
-static struct iwl_ops iwl5000_ops = {
+static const struct iwl_ops iwl5000_ops = {
.ucode = &iwl5000_ucode,
.lib = &iwl5000_lib,
.hcmd = &iwl5000_hcmd,
@@ -1564,7 +1564,7 @@ static struct iwl_ops iwl5000_ops = {
.led = &iwlagn_led_ops,
};
-static struct iwl_ops iwl5150_ops = {
+static const struct iwl_ops iwl5150_ops = {
.ucode = &iwl5000_ucode,
.lib = &iwl5150_lib,
.hcmd = &iwl5000_hcmd,