ath9k_hw: rename eep_AR9287_ops to eep_ar9287_ops
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
df23acaa5d
commit
0b8f6f2b1b
|
@ -257,7 +257,7 @@ int ath9k_hw_eeprom_init(struct ath_hw *ah)
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
if (AR_SREV_9287(ah)) {
|
if (AR_SREV_9287(ah)) {
|
||||||
ah->eep_ops = &eep_AR9287_ops;
|
ah->eep_ops = &eep_ar9287_ops;
|
||||||
} else if (AR_SREV_9285(ah) || AR_SREV_9271(ah)) {
|
} else if (AR_SREV_9285(ah) || AR_SREV_9271(ah)) {
|
||||||
ah->eep_ops = &eep_4k_ops;
|
ah->eep_ops = &eep_4k_ops;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -707,6 +707,6 @@ int ath9k_hw_eeprom_init(struct ath_hw *ah);
|
||||||
|
|
||||||
extern const struct eeprom_ops eep_def_ops;
|
extern const struct eeprom_ops eep_def_ops;
|
||||||
extern const struct eeprom_ops eep_4k_ops;
|
extern const struct eeprom_ops eep_4k_ops;
|
||||||
extern const struct eeprom_ops eep_AR9287_ops;
|
extern const struct eeprom_ops eep_ar9287_ops;
|
||||||
|
|
||||||
#endif /* EEPROM_H */
|
#endif /* EEPROM_H */
|
||||||
|
|
|
@ -1170,7 +1170,7 @@ static u16 ath9k_hw_AR9287_get_spur_channel(struct ath_hw *ah,
|
||||||
#undef EEP_MAP9287_SPURCHAN
|
#undef EEP_MAP9287_SPURCHAN
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct eeprom_ops eep_AR9287_ops = {
|
const struct eeprom_ops eep_ar9287_ops = {
|
||||||
.check_eeprom = ath9k_hw_AR9287_check_eeprom,
|
.check_eeprom = ath9k_hw_AR9287_check_eeprom,
|
||||||
.get_eeprom = ath9k_hw_AR9287_get_eeprom,
|
.get_eeprom = ath9k_hw_AR9287_get_eeprom,
|
||||||
.fill_eeprom = ath9k_hw_AR9287_fill_eeprom,
|
.fill_eeprom = ath9k_hw_AR9287_fill_eeprom,
|
||||||
|
|
Loading…
Reference in New Issue