aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 06:49:48 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-17 22:34:51 -0500
commit93f726a90d1446c9e5a40fe8f88086542b273e7c (patch)
tree908f7b22e5fa7c638cc678496c5942f726f9bb96 /drivers/net/wireless
parent9e05a2df09e91bfe50d16ff96cc208708599185c (diff)
drivers/net/wireless/ath9k: fix sparse warnings: Should it be static?
Impact: Make symbols static. Fix this sparse warnings: drivers/net/wireless/ath9k/eeprom.c:1343:5: warning: symbol 'ath9k_hw_4k_get_spur_channel' was not declared. Should it be static? drivers/net/wireless/ath9k/eeprom.c:1372:19: warning: symbol 'eep_4k_ops' was not declared. Should it be static? drivers/net/wireless/ath9k/eeprom.c:2649:5: warning: symbol 'ath9k_hw_def_get_spur_channel' was not declared. Should it be static? drivers/net/wireless/ath9k/eeprom.c:2678:19: warning: symbol 'eep_def_ops' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath9k/eeprom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath9k/eeprom.c b/drivers/net/wireless/ath9k/eeprom.c
index c0359ad2bc7b..b55e9920a5d4 100644
--- a/drivers/net/wireless/ath9k/eeprom.c
+++ b/drivers/net/wireless/ath9k/eeprom.c
@@ -1340,7 +1340,7 @@ static u8 ath9k_hw_4k_get_num_ant_config(struct ath_hw *ah,
1340 return 1; 1340 return 1;
1341} 1341}
1342 1342
1343u16 ath9k_hw_4k_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz) 1343static u16 ath9k_hw_4k_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz)
1344{ 1344{
1345#define EEP_MAP4K_SPURCHAN \ 1345#define EEP_MAP4K_SPURCHAN \
1346 (ah->eeprom.map4k.modalHeader.spurChans[i].spurChan) 1346 (ah->eeprom.map4k.modalHeader.spurChans[i].spurChan)
@@ -1369,7 +1369,7 @@ u16 ath9k_hw_4k_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz)
1369#undef EEP_MAP4K_SPURCHAN 1369#undef EEP_MAP4K_SPURCHAN
1370} 1370}
1371 1371
1372struct eeprom_ops eep_4k_ops = { 1372static struct eeprom_ops eep_4k_ops = {
1373 .check_eeprom = ath9k_hw_4k_check_eeprom, 1373 .check_eeprom = ath9k_hw_4k_check_eeprom,
1374 .get_eeprom = ath9k_hw_4k_get_eeprom, 1374 .get_eeprom = ath9k_hw_4k_get_eeprom,
1375 .fill_eeprom = ath9k_hw_4k_fill_eeprom, 1375 .fill_eeprom = ath9k_hw_4k_fill_eeprom,
@@ -2646,7 +2646,7 @@ static u16 ath9k_hw_def_get_eeprom_antenna_cfg(struct ath_hw *ah,
2646 return pModal->antCtrlCommon & 0xFFFF; 2646 return pModal->antCtrlCommon & 0xFFFF;
2647} 2647}
2648 2648
2649u16 ath9k_hw_def_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz) 2649static u16 ath9k_hw_def_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz)
2650{ 2650{
2651#define EEP_DEF_SPURCHAN \ 2651#define EEP_DEF_SPURCHAN \
2652 (ah->eeprom.def.modalHeader[is2GHz].spurChans[i].spurChan) 2652 (ah->eeprom.def.modalHeader[is2GHz].spurChans[i].spurChan)
@@ -2675,7 +2675,7 @@ u16 ath9k_hw_def_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz)
2675#undef EEP_DEF_SPURCHAN 2675#undef EEP_DEF_SPURCHAN
2676} 2676}
2677 2677
2678struct eeprom_ops eep_def_ops = { 2678static struct eeprom_ops eep_def_ops = {
2679 .check_eeprom = ath9k_hw_def_check_eeprom, 2679 .check_eeprom = ath9k_hw_def_check_eeprom,
2680 .get_eeprom = ath9k_hw_def_get_eeprom, 2680 .get_eeprom = ath9k_hw_def_get_eeprom,
2681 .fill_eeprom = ath9k_hw_def_fill_eeprom, 2681 .fill_eeprom = ath9k_hw_def_fill_eeprom,