iwlwifi: don't export symbols not needed in other modules
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 30 Jul 2009 09:58:16 +0000 (11:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:15 +0000 (16:44 -0400)
Even with the split into iwlcore/agn/3945 not all symbols
that cross file boundaries are needed in other modules, a
few are only used within iwlcore, for example.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-led.c
drivers/net/wireless/iwlwifi/iwl-rx.c
drivers/net/wireless/iwlwifi/iwl-sta.c

index 8570d56b3124096f24d58f6cb6e5092125c97d9e..1b5180f8d75e7f19cdcf19a63f5775cfd108d827 100644 (file)
@@ -1140,7 +1140,6 @@ void iwl_set_flags_for_band(struct iwl_priv *priv,
                priv->staging_rxon.flags &= ~RXON_FLG_CCK_MSK;
        }
 }
-EXPORT_SYMBOL(iwl_set_flags_for_band);
 
 /*
  * initialize rxon structure with default values from eeprom
@@ -2291,7 +2290,6 @@ int iwl_send_card_state(struct iwl_priv *priv, u32 flags, u8 meta_flag)
 
        return iwl_send_cmd(priv, &cmd);
 }
-EXPORT_SYMBOL(iwl_send_card_state);
 
 void iwl_rx_pm_sleep_notif(struct iwl_priv *priv,
                           struct iwl_rx_mem_buffer *rxb)
@@ -2335,7 +2333,6 @@ void iwl_clear_isr_stats(struct iwl_priv *priv)
 {
        memset(&priv->isr_stats, 0, sizeof(priv->isr_stats));
 }
-EXPORT_SYMBOL(iwl_clear_isr_stats);
 
 int iwl_mac_conf_tx(struct ieee80211_hw *hw, u16 queue,
                           const struct ieee80211_tx_queue_params *params)
index 7cce8f85bcc6b29b6d9b12fe86be47dbac65397f..3d61cb43151caf06f796df592cfac8fb776cfcc4 100644 (file)
@@ -335,7 +335,6 @@ void iwl_leds_background(struct iwl_priv *priv)
        priv->last_blink_time = jiffies;
        priv->last_blink_rate = blink_idx;
 }
-EXPORT_SYMBOL(iwl_leds_background);
 
 /* Register all led handler */
 int iwl_leds_register(struct iwl_priv *priv)
index 5d5f2153f44594d2a53b8a6ec9349dd94c01b72a..e002c8b56c492e6a8fc463e7027d444c2432b6a8 100644 (file)
@@ -406,7 +406,6 @@ void iwl_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq)
        rxq->free_count = 0;
        spin_unlock_irqrestore(&rxq->lock, flags);
 }
-EXPORT_SYMBOL(iwl_rx_queue_reset);
 
 int iwl_rx_init(struct iwl_priv *priv, struct iwl_rx_queue *rxq)
 {
index 79ea5cc2c89aa4438238cc41815159ce6bc26c28..efcae0d5e1931c9a4fd070fd8455294d3d30ec11 100644 (file)
@@ -464,7 +464,6 @@ out:
        spin_unlock_irqrestore(&priv->sta_lock, flags);
        return ret;
 }
-EXPORT_SYMBOL(iwl_remove_station);
 
 /**
  * iwl_clear_stations_table - Clear the driver's station table