diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/efuse.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/efuse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/efuse.c b/drivers/net/wireless/rtlwifi/efuse.c index 1f143800a8d7..8e2f9afb125a 100644 --- a/drivers/net/wireless/rtlwifi/efuse.c +++ b/drivers/net/wireless/rtlwifi/efuse.c | |||
@@ -352,7 +352,7 @@ void read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf) | |||
352 | rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_EFUSE_BYTES, | 352 | rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_EFUSE_BYTES, |
353 | (u8 *)&efuse_utilized); | 353 | (u8 *)&efuse_utilized); |
354 | rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_EFUSE_USAGE, | 354 | rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_EFUSE_USAGE, |
355 | (u8 *)&efuse_usage); | 355 | &efuse_usage); |
356 | done: | 356 | done: |
357 | for (i = 0; i < EFUSE_MAX_WORD_UNIT; i++) | 357 | for (i = 0; i < EFUSE_MAX_WORD_UNIT; i++) |
358 | kfree(efuse_word[i]); | 358 | kfree(efuse_word[i]); |
@@ -409,7 +409,7 @@ void efuse_shadow_read(struct ieee80211_hw *hw, u8 type, | |||
409 | else if (type == 2) | 409 | else if (type == 2) |
410 | efuse_shadow_read_2byte(hw, offset, (u16 *) value); | 410 | efuse_shadow_read_2byte(hw, offset, (u16 *) value); |
411 | else if (type == 4) | 411 | else if (type == 4) |
412 | efuse_shadow_read_4byte(hw, offset, (u32 *) value); | 412 | efuse_shadow_read_4byte(hw, offset, value); |
413 | 413 | ||
414 | } | 414 | } |
415 | 415 | ||