summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlegacy/common.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-03-08 19:12:56 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2013-03-11 19:06:13 (GMT)
commit60c46bf8176bd4cf28314a8bf0cf26f2ddc3b793 (patch)
treeba8e02c973cc9e7e8cf49dcd3497de0bf36917c7 /drivers/net/wireless/iwlegacy/common.c
parent4363b57786f8e5c82d52906d4dd29bf67304564e (diff)
downloadlinux-fsl-qoriq-60c46bf8176bd4cf28314a8bf0cf26f2ddc3b793.tar.xz
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 e006ea8..bc465da 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;