iwlwifi: fix compliation warnings
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 5 Dec 2007 18:59:58 +0000 (20:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:05:56 +0000 (15:05 -0800)
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>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c

index bab42a1351cafe5b761de08e3cf2df5d71938e0e..c366ad55f70e4e2b7c464e5b19e31b43cf7f3b2b 100644 (file)
@@ -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;
 
index 3a9f14d8f26ae284e244f998070294cfd1b45a09..7550594ed4fce2d8daa6e3b6e213dbab03e31d0a 100644 (file)
@@ -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;