summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/3945-mac.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-03-08 20:12:56 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-03-11 20:06:13 +0100
commit60c46bf8176bd4cf28314a8bf0cf26f2ddc3b793 (patch)
treeba8e02c973cc9e7e8cf49dcd3497de0bf36917c7 /drivers/net/wireless/iwlegacy/3945-mac.c
parentorinoco_usb: don't release nonexistent firmware (diff)
downloadlinux-60c46bf8176bd4cf28314a8bf0cf26f2ddc3b793.tar.xz
linux-60c46bf8176bd4cf28314a8bf0cf26f2ddc3b793.zip
iwlegacy: fix sparse warnings
Make local functions and tables static. Make ops table Mark 3945 ops as read_mostly. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945-mac.c')
-rw-r--r--drivers/net/wireless/iwlegacy/3945-mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-mac.c b/drivers/net/wireless/iwlegacy/3945-mac.c
index 3630a41df50d..df5a57c74808 100644
--- a/drivers/net/wireless/iwlegacy/3945-mac.c
+++ b/drivers/net/wireless/iwlegacy/3945-mac.c
@@ -3475,7 +3475,7 @@ static struct attribute_group il3945_attribute_group = {
.attrs = il3945_sysfs_entries,
};
-struct ieee80211_ops il3945_mac_ops = {
+static struct ieee80211_ops il3945_mac_ops __read_mostly = {
.tx = il3945_mac_tx,
.start = il3945_mac_start,
.stop = il3945_mac_stop,