patch "staging: rtl8723au: os_dep: declared cfg80211_infrastructure_mode static

Declared cfg80211_infrastructure_mode method static to remove sparse warning

Signed-off-by: Rahul Garg <rahul.lnmiit@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Rahul Garg 2014-09-25 07:16:59 +05:30 committed by Greg Kroah-Hartman
parent f1c571dcf0
commit 1da2a44bf8
1 changed files with 1 additions and 1 deletions

View File

@ -1118,7 +1118,7 @@ static int cfg80211_rtw_get_station(struct wiphy *wiphy,
return ret;
}
int cfg80211_infrastructure_mode(struct rtw_adapter *padapter,
static int cfg80211_infrastructure_mode(struct rtw_adapter *padapter,
enum nl80211_iftype ifmode)
{
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;