Skip to contentSkip to conversation

patch "staging: rtl8723au: os_dep: declared cfg80211_infrastructure_mode static

PATCH New Rahul Garg 1 participant 1 message Sep 25, 2014 Staging

lore
Share & tools
lore

Rahul Garg

author
#0 lore raw

PATCH 1/1 patch "staging: rtl8723au: os_dep: declared cfg80211_infrastructure_mode static

Declared cfg80211_infrastructure_mode method static to remove sparse warning

---
 drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c +1 -1
index f2615dc..bd6953a 100644
@@ -1119,7 +1119,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;
Signature · 1 line
1.9.1