summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include/rtl8188e_hal.h
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-02-12 17:17:37 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-15 17:11:23 +0100
commit841b3f2fb6c685121f5f7b5f58c08a8f35569a63 (patch)
tree64a63bb8d63794a5a74878df10aa27172aa574a3 /drivers/staging/r8188eu/include/rtl8188e_hal.h
parentaa3dfd4613533a1603b096bccb6e62deee515071 (diff)
downloadlinux-stable-841b3f2fb6c685121f5f7b5f58c08a8f35569a63.tar.gz
linux-stable-841b3f2fb6c685121f5f7b5f58c08a8f35569a63.tar.bz2
linux-stable-841b3f2fb6c685121f5f7b5f58c08a8f35569a63.zip
staging: r8188eu: we only need one struct bb_reg_def for path a
The r8188eu driver does no longer access rf path b registers via PHYRegDef. Change the PHYRegDef array in struct hal_data_8188e to a single variable that holds the register addresses for rf path a. Remove the initialisation of path b register addresses. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220212161737.381841-11-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtl8188e_hal.h')
-rw-r--r--drivers/staging/r8188eu/include/rtl8188e_hal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h
index 5b27bae97e91..44321a53a345 100644
--- a/drivers/staging/r8188eu/include/rtl8188e_hal.h
+++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h
@@ -141,7 +141,7 @@ struct hal_data_8188e {
u32 AcParam_BE; /* Original parameter for BE, use for EDCA turbo. */
- struct bb_reg_def PHYRegDef[2]; /* Radio A/B */
+ struct bb_reg_def PHYRegDef;
u32 RfRegChnlVal;