diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-06-07 01:26:41 +0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-06-11 18:10:48 +0400 |
commit | 8d8854d983ab7217d322269c9bd17c1f8c481ae8 (patch) | |
tree | 198e34a9219bb1a76f0e2fed5bad97e0e678a2fa /drivers/net/wireless/iwlwifi/iwl-5000-hw.h | |
parent | bf300252baa383065851e2ed6af41e5f9735fe9c (diff) | |
download | linux-8d8854d983ab7217d322269c9bd17c1f8c481ae8.tar.xz |
iwlagn: generic temperature location in EEPROM
Temperature location in EEPROM is generic to all devices
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000-hw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000-hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000-hw.h b/drivers/net/wireless/iwlwifi/iwl-5000-hw.h index 05ad47628b63..f9630a3c79fe 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-5000-hw.h @@ -75,7 +75,7 @@ static inline s32 iwl_temp_calib_to_offset(struct iwl_priv *priv) { u16 temperature, voltage; __le16 *temp_calib = - (__le16 *)iwl_eeprom_query_addr(priv, EEPROM_5000_TEMPERATURE); + (__le16 *)iwl_eeprom_query_addr(priv, EEPROM_TEMPERATURE); temperature = le16_to_cpu(temp_calib[0]); voltage = le16_to_cpu(temp_calib[1]); |