staging: rtl8723bs: Rename 'Hal8723bPhyReg.h' using snake case.
authorQuytelda Kahja <quytelda@tamalin.org>
Tue, 22 May 2018 07:26:30 +0000 (00:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 16:47:22 +0000 (18:47 +0200)
Camel-case is discouraged in the linux kernel coding style.  Rename
this header using snake case instead.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/Hal8723BPhyReg.h [deleted file]
drivers/staging/rtl8723bs/include/hal_phy_reg_8723b.h [new file with mode: 0644]
drivers/staging/rtl8723bs/include/rtl8723b_hal.h

diff --git a/drivers/staging/rtl8723bs/include/Hal8723BPhyReg.h b/drivers/staging/rtl8723bs/include/Hal8723BPhyReg.h
deleted file mode 100644 (file)
index b0b1ac1..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/******************************************************************************
- *
- * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
- *
- ******************************************************************************/
-#ifndef __INC_HAL8723BPHYREG_H__
-#define __INC_HAL8723BPHYREG_H__
-
-#include <Hal8192CPhyReg.h>
-
-/*  BB Register Definition */
-/*  */
-/*  4. Page9(0x900) */
-/*  */
-#define rDPDT_control                          0x92c
-#define rfe_ctrl_anta_src                              0x930
-#define rS0S1_PathSwitch                       0x948
-#define AGC_table_select                               0xb2c
-
-/*  */
-/*  PageB(0xB00) */
-/*  */
-#define rPdp_AntA                                              0xb00
-#define rPdp_AntA_4                                            0xb04
-#define rPdp_AntA_8                                            0xb08
-#define rPdp_AntA_C                                            0xb0c
-#define rPdp_AntA_10                                   0xb10
-#define rPdp_AntA_14                                   0xb14
-#define rPdp_AntA_18                                   0xb18
-#define rPdp_AntA_1C                                   0xb1c
-#define rPdp_AntA_20                                   0xb20
-#define rPdp_AntA_24                                   0xb24
-
-#define rConfig_Pmpd_AntA                              0xb28
-#define rConfig_ram64x16                               0xb2c
-
-#define rBndA                                                  0xb30
-#define rHssiPar                                               0xb34
-
-#define rConfig_AntA                                   0xb68
-#define rConfig_AntB                                   0xb6c
-
-#define rPdp_AntB                                              0xb70
-#define rPdp_AntB_4                                            0xb74
-#define rPdp_AntB_8                                            0xb78
-#define rPdp_AntB_C                                            0xb7c
-#define rPdp_AntB_10                                   0xb80
-#define rPdp_AntB_14                                   0xb84
-#define rPdp_AntB_18                                   0xb88
-#define rPdp_AntB_1C                                   0xb8c
-#define rPdp_AntB_20                                   0xb90
-#define rPdp_AntB_24                                   0xb94
-
-#define rConfig_Pmpd_AntB                              0xb98
-
-#define rBndB                                                  0xba0
-
-#define rAPK                                                   0xbd8
-#define rPm_Rx0_AntA                                   0xbdc
-#define rPm_Rx1_AntA                                   0xbe0
-#define rPm_Rx2_AntA                                   0xbe4
-#define rPm_Rx3_AntA                                   0xbe8
-#define rPm_Rx0_AntB                                   0xbec
-#define rPm_Rx1_AntB                                   0xbf0
-#define rPm_Rx2_AntB                                   0xbf4
-#define rPm_Rx3_AntB                                   0xbf8
-
-#endif
diff --git a/drivers/staging/rtl8723bs/include/hal_phy_reg_8723b.h b/drivers/staging/rtl8723bs/include/hal_phy_reg_8723b.h
new file mode 100644 (file)
index 0000000..b0b1ac1
--- /dev/null
@@ -0,0 +1,69 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/******************************************************************************
+ *
+ * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
+ *
+ ******************************************************************************/
+#ifndef __INC_HAL8723BPHYREG_H__
+#define __INC_HAL8723BPHYREG_H__
+
+#include <Hal8192CPhyReg.h>
+
+/*  BB Register Definition */
+/*  */
+/*  4. Page9(0x900) */
+/*  */
+#define rDPDT_control                          0x92c
+#define rfe_ctrl_anta_src                              0x930
+#define rS0S1_PathSwitch                       0x948
+#define AGC_table_select                               0xb2c
+
+/*  */
+/*  PageB(0xB00) */
+/*  */
+#define rPdp_AntA                                              0xb00
+#define rPdp_AntA_4                                            0xb04
+#define rPdp_AntA_8                                            0xb08
+#define rPdp_AntA_C                                            0xb0c
+#define rPdp_AntA_10                                   0xb10
+#define rPdp_AntA_14                                   0xb14
+#define rPdp_AntA_18                                   0xb18
+#define rPdp_AntA_1C                                   0xb1c
+#define rPdp_AntA_20                                   0xb20
+#define rPdp_AntA_24                                   0xb24
+
+#define rConfig_Pmpd_AntA                              0xb28
+#define rConfig_ram64x16                               0xb2c
+
+#define rBndA                                                  0xb30
+#define rHssiPar                                               0xb34
+
+#define rConfig_AntA                                   0xb68
+#define rConfig_AntB                                   0xb6c
+
+#define rPdp_AntB                                              0xb70
+#define rPdp_AntB_4                                            0xb74
+#define rPdp_AntB_8                                            0xb78
+#define rPdp_AntB_C                                            0xb7c
+#define rPdp_AntB_10                                   0xb80
+#define rPdp_AntB_14                                   0xb84
+#define rPdp_AntB_18                                   0xb88
+#define rPdp_AntB_1C                                   0xb8c
+#define rPdp_AntB_20                                   0xb90
+#define rPdp_AntB_24                                   0xb94
+
+#define rConfig_Pmpd_AntB                              0xb98
+
+#define rBndB                                                  0xba0
+
+#define rAPK                                                   0xbd8
+#define rPm_Rx0_AntA                                   0xbdc
+#define rPm_Rx1_AntA                                   0xbe0
+#define rPm_Rx2_AntA                                   0xbe4
+#define rPm_Rx3_AntA                                   0xbe8
+#define rPm_Rx0_AntB                                   0xbec
+#define rPm_Rx1_AntB                                   0xbf0
+#define rPm_Rx2_AntB                                   0xbf4
+#define rPm_Rx3_AntB                                   0xbf8
+
+#endif
index 46ac61b058c886917074e3c99a26941caa14bc37..c2b71b4e498229ef07f74c4475049e26177d330d 100644 (file)
@@ -17,7 +17,7 @@
 #include "rtl8723b_cmd.h"
 #include "rtw_mp.h"
 #include "hal_pwr_seq.h"
-#include "Hal8723BPhyReg.h"
+#include "hal_phy_reg_8723b.h"
 #include "Hal8723BPhyCfg.h"
 
 /*  */