aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2007-12-05 20:59:58 +0200
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:05:56 -0800
commit4fd1f8414664b3e834aa46cdbf8f0c12fc42a878 (patch)
tree30b0cd345797e5a2174e1be3c21f7bd23c49bdec /drivers/net
parent0946687803ff5495e4b7c0b7f2c6d002398bd5fa (diff)
iwlwifi: fix compliation warnings
This patch fixes compilation warnings introduced by 'fix ucode assertion for RX queue overrun' patch Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index bab42a1351c..c366ad55f70 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -4163,7 +4163,7 @@ static void iwl3945_rx_allocate(struct iwl3945_priv *priv)
/*
* this should be called while priv->lock is locked
*/
-void __iwl3945_rx_replenish(void *data)
+static void __iwl3945_rx_replenish(void *data)
{
struct iwl3945_priv *priv = data;
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 3a9f14d8f26..7550594ed4f 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -4534,7 +4534,7 @@ static void iwl4965_rx_allocate(struct iwl4965_priv *priv)
/*
* this should be called while priv->lock is locked
*/
-void __iwl4965_rx_replenish(void *data)
+static void __iwl4965_rx_replenish(void *data)
{
struct iwl4965_priv *priv = data;
@@ -6038,7 +6038,7 @@ static void iwl4965_dealloc_ucode_pci(struct iwl4965_priv *priv)
* iwl4965_verify_inst_full - verify runtime uCode image in card vs. host,
* looking at all data.
*/
-static int iwl4965_verify_inst_full(struct iwl4965_priv *priv, __le32 * image,
+static int iwl4965_verify_inst_full(struct iwl4965_priv *priv, __le32 *image,
u32 len)
{
u32 val;