staging: wilc1000: make mgmt_tx static
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Sep 2015 09:34:51 +0000 (18:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 00:29:50 +0000 (02:29 +0200)
This patch makes mgmt_tx static. This function is used only at
wilc_wfi_cfgoperation.c file.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 0c72c5ec4864fcd9107f520f94c2c670f0c470d8..0becefb8812e3600fae768ece861d8e0a561dd5f 100644 (file)
@@ -2354,10 +2354,10 @@ void WILC_WFI_add_wilcvendorspec(u8 *buff)
  */
 extern linux_wlan_t *g_linux_wlan;
 extern bool bEnablePS;
-int mgmt_tx(struct wiphy *wiphy,
-           struct wireless_dev *wdev,
-           struct cfg80211_mgmt_tx_params *params,
-           u64 *cookie)
+static int mgmt_tx(struct wiphy *wiphy,
+                  struct wireless_dev *wdev,
+                  struct cfg80211_mgmt_tx_params *params,
+                  u64 *cookie)
 {
        struct ieee80211_channel *chan = params->chan;
        unsigned int wait = params->wait;