patch "staging: rtl8723au: os_dep: declared cfg80211_infrastructure_mode static
authorRahul Garg <rahul.lnmiit@gmail.com>
Thu, 25 Sep 2014 01:46:59 +0000 (07:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:06:13 +0000 (22:06 -0400)
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>
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

index f547ac66d05c9fe75200929435bf7bcd2f9aea19..a0d44c679f5555fdac47f9c509cb78bc6c8c5d41 100644 (file)
@@ -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;