From: Rahul Garg Date: Thu, 25 Sep 2014 01:46:59 +0000 (+0530) Subject: patch "staging: rtl8723au: os_dep: declared cfg80211_infrastructure_mode static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1da2a44bf8615ab40e5d4f7408b873385b6beee0;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index f547ac66d05c..a0d44c679f55 100644 --- a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c @@ -1118,7 +1118,7 @@ exit: 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;