|
@@ -73,8 +73,6 @@ static void efuse_word_enable_data_read(u8 word_en, u8 *sourdata,
|
|
u8 *targetdata);
|
|
u8 *targetdata);
|
|
static u8 enable_efuse_data_write(struct ieee80211_hw *hw,
|
|
static u8 enable_efuse_data_write(struct ieee80211_hw *hw,
|
|
u16 efuse_addr, u8 word_en, u8 *data);
|
|
u16 efuse_addr, u8 word_en, u8 *data);
|
|
-static void efuse_power_switch(struct ieee80211_hw *hw, u8 write,
|
|
|
|
- u8 pwrstate);
|
|
|
|
static u16 efuse_get_current_size(struct ieee80211_hw *hw);
|
|
static u16 efuse_get_current_size(struct ieee80211_hw *hw);
|
|
static u8 efuse_calculate_word_cnts(u8 word_en);
|
|
static u8 efuse_calculate_word_cnts(u8 word_en);
|
|
|
|
|
|
@@ -1124,7 +1122,7 @@ static u8 enable_efuse_data_write(struct ieee80211_hw *hw,
|
|
return badworden;
|
|
return badworden;
|
|
}
|
|
}
|
|
|
|
|
|
-static void efuse_power_switch(struct ieee80211_hw *hw, u8 write, u8 pwrstate)
|
|
|
|
|
|
+void efuse_power_switch(struct ieee80211_hw *hw, u8 write, u8 pwrstate)
|
|
{
|
|
{
|
|
struct rtl_priv *rtlpriv = rtl_priv(hw);
|
|
struct rtl_priv *rtlpriv = rtl_priv(hw);
|
|
struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));
|
|
struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));
|
|
@@ -1210,6 +1208,7 @@ static void efuse_power_switch(struct ieee80211_hw *hw, u8 write, u8 pwrstate)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+EXPORT_SYMBOL(efuse_power_switch);
|
|
|
|
|
|
static u16 efuse_get_current_size(struct ieee80211_hw *hw)
|
|
static u16 efuse_get_current_size(struct ieee80211_hw *hw)
|
|
{
|
|
{
|