Commit e46ab7f0 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

iwlwifi: don't export symbols not needed in other modules

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: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 42935eca
...@@ -1140,7 +1140,6 @@ void iwl_set_flags_for_band(struct iwl_priv *priv, ...@@ -1140,7 +1140,6 @@ void iwl_set_flags_for_band(struct iwl_priv *priv,
priv->staging_rxon.flags &= ~RXON_FLG_CCK_MSK; priv->staging_rxon.flags &= ~RXON_FLG_CCK_MSK;
} }
} }
EXPORT_SYMBOL(iwl_set_flags_for_band);
/* /*
* initialize rxon structure with default values from eeprom * 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) ...@@ -2291,7 +2290,6 @@ int iwl_send_card_state(struct iwl_priv *priv, u32 flags, u8 meta_flag)
return iwl_send_cmd(priv, &cmd); return iwl_send_cmd(priv, &cmd);
} }
EXPORT_SYMBOL(iwl_send_card_state);
void iwl_rx_pm_sleep_notif(struct iwl_priv *priv, void iwl_rx_pm_sleep_notif(struct iwl_priv *priv,
struct iwl_rx_mem_buffer *rxb) struct iwl_rx_mem_buffer *rxb)
...@@ -2335,7 +2333,6 @@ void iwl_clear_isr_stats(struct iwl_priv *priv) ...@@ -2335,7 +2333,6 @@ void iwl_clear_isr_stats(struct iwl_priv *priv)
{ {
memset(&priv->isr_stats, 0, sizeof(priv->isr_stats)); 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, int iwl_mac_conf_tx(struct ieee80211_hw *hw, u16 queue,
const struct ieee80211_tx_queue_params *params) const struct ieee80211_tx_queue_params *params)
......
...@@ -335,7 +335,6 @@ void iwl_leds_background(struct iwl_priv *priv) ...@@ -335,7 +335,6 @@ void iwl_leds_background(struct iwl_priv *priv)
priv->last_blink_time = jiffies; priv->last_blink_time = jiffies;
priv->last_blink_rate = blink_idx; priv->last_blink_rate = blink_idx;
} }
EXPORT_SYMBOL(iwl_leds_background);
/* Register all led handler */ /* Register all led handler */
int iwl_leds_register(struct iwl_priv *priv) int iwl_leds_register(struct iwl_priv *priv)
......
...@@ -406,7 +406,6 @@ void iwl_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq) ...@@ -406,7 +406,6 @@ void iwl_rx_queue_reset(struct iwl_priv *priv, struct iwl_rx_queue *rxq)
rxq->free_count = 0; rxq->free_count = 0;
spin_unlock_irqrestore(&rxq->lock, flags); 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) int iwl_rx_init(struct iwl_priv *priv, struct iwl_rx_queue *rxq)
{ {
......
...@@ -464,7 +464,6 @@ int iwl_remove_station(struct iwl_priv *priv, const u8 *addr, bool is_ap) ...@@ -464,7 +464,6 @@ int iwl_remove_station(struct iwl_priv *priv, const u8 *addr, bool is_ap)
spin_unlock_irqrestore(&priv->sta_lock, flags); spin_unlock_irqrestore(&priv->sta_lock, flags);
return ret; return ret;
} }
EXPORT_SYMBOL(iwl_remove_station);
/** /**
* iwl_clear_stations_table - Clear the driver's station table * iwl_clear_stations_table - Clear the driver's station table
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment