Commit de7c189c authored by Jes Sorensen's avatar Jes Sorensen Committed by Kalle Valo

rtl8xxxu: Rename rtl8723au_init_phy_bb() to rtl8xxxu_gen1_init_phy_bb()

All gen1 parts use the same init_phy_bb() function, so rename it to
reflect this.
Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 28466e92
...@@ -3814,7 +3814,7 @@ static int rtl8xxxu_init_phy_regs(struct rtl8xxxu_priv *priv, ...@@ -3814,7 +3814,7 @@ static int rtl8xxxu_init_phy_regs(struct rtl8xxxu_priv *priv,
return 0; return 0;
} }
static void rtl8723au_init_phy_bb(struct rtl8xxxu_priv *priv) static void rtl8xxxu_gen1_init_phy_bb(struct rtl8xxxu_priv *priv)
{ {
u8 val8, ldoa15, ldov12d, lpldo, ldohci12; u8 val8, ldoa15, ldov12d, lpldo, ldohci12;
u16 val16; u16 val16;
...@@ -9880,7 +9880,7 @@ static struct rtl8xxxu_fileops rtl8723au_fops = { ...@@ -9880,7 +9880,7 @@ static struct rtl8xxxu_fileops rtl8723au_fops = {
.power_off = rtl8xxxu_power_off, .power_off = rtl8xxxu_power_off,
.reset_8051 = rtl8xxxu_reset_8051, .reset_8051 = rtl8xxxu_reset_8051,
.llt_init = rtl8xxxu_init_llt_table, .llt_init = rtl8xxxu_init_llt_table,
.init_phy_bb = rtl8723au_init_phy_bb, .init_phy_bb = rtl8xxxu_gen1_init_phy_bb,
.init_phy_rf = rtl8723au_init_phy_rf, .init_phy_rf = rtl8723au_init_phy_rf,
.phy_iq_calibrate = rtl8xxxu_gen1_phy_iq_calibrate, .phy_iq_calibrate = rtl8xxxu_gen1_phy_iq_calibrate,
.config_channel = rtl8xxxu_gen1_config_channel, .config_channel = rtl8xxxu_gen1_config_channel,
...@@ -9952,7 +9952,7 @@ static struct rtl8xxxu_fileops rtl8192cu_fops = { ...@@ -9952,7 +9952,7 @@ static struct rtl8xxxu_fileops rtl8192cu_fops = {
.power_off = rtl8xxxu_power_off, .power_off = rtl8xxxu_power_off,
.reset_8051 = rtl8xxxu_reset_8051, .reset_8051 = rtl8xxxu_reset_8051,
.llt_init = rtl8xxxu_init_llt_table, .llt_init = rtl8xxxu_init_llt_table,
.init_phy_bb = rtl8723au_init_phy_bb, .init_phy_bb = rtl8xxxu_gen1_init_phy_bb,
.init_phy_rf = rtl8192cu_init_phy_rf, .init_phy_rf = rtl8192cu_init_phy_rf,
.phy_iq_calibrate = rtl8xxxu_gen1_phy_iq_calibrate, .phy_iq_calibrate = rtl8xxxu_gen1_phy_iq_calibrate,
.config_channel = rtl8xxxu_gen1_config_channel, .config_channel = rtl8xxxu_gen1_config_channel,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment