summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-07 18:52:40 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-03-08 20:00:01 +0100
commite6dd5838acf312516fcc4eb34516de5bc45e2980 (patch)
tree33bf5f0ea76413e735eb263b77e4d425037072fd /drivers/net/wireless/iwlwifi/iwl-agn.c
parentiwlwifi: remove messages from queue wake/stop (diff)
downloadlinux-e6dd5838acf312516fcc4eb34516de5bc45e2980.tar.xz
linux-e6dd5838acf312516fcc4eb34516de5bc45e2980.zip
iwlwifi: make iwl_init_context static
It's not needed anywhere but during init. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index d45def33d0f6..8c21db81ba5f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -488,7 +488,7 @@ static void iwl_bg_tx_flush(struct work_struct *work)
iwlagn_dev_txfifo_flush(priv, IWL_DROP_ALL);
}
-void iwl_init_context(struct iwl_priv *priv, u32 ucode_flags)
+static void iwl_init_context(struct iwl_priv *priv, u32 ucode_flags)
{
int i;