From: Ana Rey Date: Wed, 19 Mar 2014 11:47:26 +0000 (+0100) Subject: staging: rtl8192u: make in ieee80211/ieee80211_wx.c a local variable static X-Git-Tag: MMI-PSA29.97-13-9~12500^2~34 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6831574c68d10cc7af02b4257e44d9d964ddea8e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Ana Rey Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c index e1fe54acb4b8..bdf67ec5df21 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c @@ -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},