diff options
author | Christoph Hellwig <hch@lst.de> | 2007-10-25 05:15:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:23 -0500 |
commit | 416e1438d5a921046fda6fc5673d5f2c69841c06 (patch) | |
tree | d4fe655e8a4fc0ea0a01427b030e231795484d78 /drivers/net/wireless/iwlwifi/iwl-3945.c | |
parent | 80f3e024dcc14f30bff58179ad610f941642901b (diff) |
iwlwifi: mark more functions/variables static
mark more functions/variables static
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index aec564d976a5..faaba2927177 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -699,21 +699,6 @@ u8 iwl3945_sync_sta(struct iwl_priv *priv, int sta_id, u16 tx_rate, u8 flags) | |||
699 | return sta_id; | 699 | return sta_id; |
700 | } | 700 | } |
701 | 701 | ||
702 | void iwl_hw_card_show_info(struct iwl_priv *priv) | ||
703 | { | ||
704 | IWL_DEBUG_INFO("3945ABG HW Version %u.%u.%u\n", | ||
705 | ((priv->eeprom.board_revision >> 8) & 0x0F), | ||
706 | ((priv->eeprom.board_revision >> 8) >> 4), | ||
707 | (priv->eeprom.board_revision & 0x00FF)); | ||
708 | |||
709 | IWL_DEBUG_INFO("3945ABG PBA Number %.*s\n", | ||
710 | (int)sizeof(priv->eeprom.board_pba_number), | ||
711 | priv->eeprom.board_pba_number); | ||
712 | |||
713 | IWL_DEBUG_INFO("EEPROM_ANTENNA_SWITCH_TYPE is 0x%02X\n", | ||
714 | priv->eeprom.antenna_switch_type); | ||
715 | } | ||
716 | |||
717 | static int iwl3945_nic_set_pwr_src(struct iwl_priv *priv, int pwr_max) | 702 | static int iwl3945_nic_set_pwr_src(struct iwl_priv *priv, int pwr_max) |
718 | { | 703 | { |
719 | int rc; | 704 | int rc; |
@@ -1780,7 +1765,7 @@ void iwl3945_reg_txpower_periodic(struct iwl_priv *priv) | |||
1780 | &priv->thermal_periodic, REG_RECALIB_PERIOD * HZ); | 1765 | &priv->thermal_periodic, REG_RECALIB_PERIOD * HZ); |
1781 | } | 1766 | } |
1782 | 1767 | ||
1783 | void iwl3945_bg_reg_txpower_periodic(struct work_struct *work) | 1768 | static void iwl3945_bg_reg_txpower_periodic(struct work_struct *work) |
1784 | { | 1769 | { |
1785 | struct iwl_priv *priv = container_of(work, struct iwl_priv, | 1770 | struct iwl_priv *priv = container_of(work, struct iwl_priv, |
1786 | thermal_periodic.work); | 1771 | thermal_periodic.work); |