aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723au
diff options
context:
space:
mode:
authorRahul Garg <rahul.lnmiit@gmail.com>2014-09-25 07:16:59 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 22:06:13 -0400
commit1da2a44bf8615ab40e5d4f7408b873385b6beee0 (patch)
treea34c78a741a9f0e2df3c16438fd0ffcb1b8d22b1 /drivers/staging/rtl8723au
parentstaging: lustre: fix gfp_t/int coercion (diff)
downloadlinux-dev-1da2a44bf8615ab40e5d4f7408b873385b6beee0.tar.xz
linux-dev-1da2a44bf8615ab40e5d4f7408b873385b6beee0.zip
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>
Diffstat (limited to 'drivers/staging/rtl8723au')
-rw-r--r--drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
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;