staging: rtl8192u: make in ieee80211/ieee80211_wx.c a local variable static
authorAna Rey <anarey@gmail.com>
Wed, 19 Mar 2014 11:47:26 +0000 (12:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 16:36:25 +0000 (09:36 -0700)
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: Ana Rey <anarey@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c

index e1fe54acb4b8b97cabc77e07c89c6954682b586c..bdf67ec5df215ba728e9fe1d0083c57b034baad4 100644 (file)
@@ -39,7 +39,7 @@ struct modes_unit {
        char *mode_string;
        int mode_size;
 };
-struct modes_unit ieee80211_modes[] = {
+static struct modes_unit ieee80211_modes[] = {
        {"a",1},
        {"b",1},
        {"g",1},