From 1da2a44bf8615ab40e5d4f7408b873385b6beee0 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Thu, 25 Sep 2014 07:16:59 +0530 Subject: [PATCH] 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 --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1