summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/common.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/common.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/common.c')
-rw-r--r--drivers/net/wireless/iwlegacy/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.c b/drivers/net/wireless/iwlegacy/common.c
index e006ea831320..bc465da40476 100644
--- a/drivers/net/wireless/iwlegacy/common.c
+++ b/drivers/net/wireless/iwlegacy/common.c
@@ -1122,7 +1122,7 @@ il_set_power(struct il_priv *il, struct il_powertable_cmd *cmd)
sizeof(struct il_powertable_cmd), cmd);
}
-int
+static int
il_power_set_mode(struct il_priv *il, struct il_powertable_cmd *cmd, bool force)
{
int ret;