diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2010-09-16 06:10:06 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-16 19:46:05 (GMT) |
commit | f799a301abf77b87133d624164d28dc2b521e99d (patch) | |
tree | 63086f0be3ea91b2b4f4b79e3f76acf089b4f10c /drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | |
parent | 65a602dd536ce45814a118322a393b956ea797fb (diff) | |
download | linux-fsl-qoriq-f799a301abf77b87133d624164d28dc2b521e99d.tar.xz |
ath9k_hw: remove warning in ath9k_hw_def_get_num_ant_config
This patch fixes following warning
drivers/net/wireless/ath/ath9k/eeprom_def.c: In function 'ath9k_hw_def_get_num_ant_config'
drivers/net/wireless/ath/ath9k/eeprom_def.c:1425:47: warning: comparison
between 'enum ath9k_hal_freq_band' and 'enum ieee80211_band'
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_eeprom.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c index b883b17..e2ae98f 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c @@ -968,7 +968,7 @@ static int ath9k_hw_ar9300_get_eeprom_rev(struct ath_hw *ah) } static u8 ath9k_hw_ar9300_get_num_ant_config(struct ath_hw *ah, - enum ieee80211_band freq_band) + enum ath9k_hal_freq_band freq_band) { return 1; } |