Commit 6831574c authored by Ana Rey's avatar Ana Rey Committed by Greg Kroah-Hartman

staging: rtl8192u: make in ieee80211/ieee80211_wx.c a local variable static

Make some local variable eee80211_modes static.

Fix sparse warnings:
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c:42:19: warning: symbol 'ieee80211_modes' was not declared. Should it be static?
Signed-off-by: default avatarAna Rey <anarey@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e42c0e77
...@@ -39,7 +39,7 @@ struct modes_unit { ...@@ -39,7 +39,7 @@ struct modes_unit {
char *mode_string; char *mode_string;
int mode_size; int mode_size;
}; };
struct modes_unit ieee80211_modes[] = { static struct modes_unit ieee80211_modes[] = {
{"a",1}, {"a",1},
{"b",1}, {"b",1},
{"g",1}, {"g",1},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment