summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
diff options
context:
space:
mode:
authorChaehyun Lim2015-09-22 11:34:51 +0200
committerGreg Kroah-Hartman2015-09-29 02:29:50 +0200
commitc156032daf431d46a4520c42de7858747929eea4 (patch)
treedd7b4b927c7f5cc8ffced8bf5085c34eac61be61 /drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
parentstaging: wilc1000: make mgmt_tx_cancel_wait static (diff)
downloadkernel-qcow2-linux-c156032daf431d46a4520c42de7858747929eea4.tar.gz
kernel-qcow2-linux-c156032daf431d46a4520c42de7858747929eea4.tar.xz
kernel-qcow2-linux-c156032daf431d46a4520c42de7858747929eea4.zip
staging: wilc1000: make mgmt_tx static
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>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wfi_cfgoperations.c')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_cfgoperations.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 0c72c5ec4864..0becefb8812e 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -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;