From: Chaehyun Lim Date: Tue, 22 Sep 2015 09:34:51 +0000 (+0900) Subject: staging: wilc1000: make mgmt_tx static X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c156032daf431d46a4520c42de7858747929eea4;p=deliverable%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- 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;