staging: rtl8723au: Rename HALBT_InitBTVars8723A() rtl8723a_BT_init_hal_vars()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 25 May 2014 20:43:44 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 22:14:45 +0000 (15:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h
drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h

index ed084d100e5c59d650f1e025de400053af64432d..5aa9ea5a22b9ea32ba451ae955121fa51bf9eb43 100644 (file)
@@ -11278,7 +11278,7 @@ void HALBT_RemoveKey(struct rtw_adapter *padapter, u8 EntryNum)
        }
 }
 
-void HALBT_InitBTVars8723A(struct rtw_adapter *padapter)
+void rtl8723a_BT_init_hal_vars(struct rtw_adapter *padapter)
 {
        struct hal_data_8723a *pHalData;
 
index fb364d1ba3a4b8eb1d43a8301a8b9d6cebd88f4d..7798532d3dfb2dd06290a4c87e0ec2425551cc60 100644 (file)
@@ -1943,9 +1943,8 @@ Hal_EfuseParseBTCoexistInfo_8723A(struct rtw_adapter *padapter,
                pHalData->EEPROMBluetoothAntIsolation = 0;
                pHalData->EEPROMBluetoothRadioShared = BT_Radio_Shared;
        }
-#ifdef CONFIG_8723AU_BT_COEXIST
-       BT_InitHalVars(padapter);
-#endif
+
+       rtl8723a_BT_init_hal_vars(padapter);
 }
 
 void
index eff40214b6d63aadc9cab6c54f7717ea9068e96a..36376190cfdf708350341e65939f3f6e1f74059b 100644 (file)
@@ -1605,9 +1605,6 @@ u8 HALBT_GetPGAntNum(struct rtw_adapter * padapter);
 #define BT_GetPGAntNum HALBT_GetPGAntNum
 void HALBT_SetKey(struct rtw_adapter * padapter, u8 EntryNum);
 void HALBT_RemoveKey(struct rtw_adapter * padapter, u8 EntryNum);
-void HALBT_InitBTVars8723A(struct rtw_adapter * padapter);
-#define HALBT_InitHalVars HALBT_InitBTVars8723A
-#define BT_InitHalVars HALBT_InitHalVars
 u8 HALBT_IsBTExist(struct rtw_adapter * padapter);
 #define BT_IsBtExist HALBT_IsBTExist
 u8 HALBT_BTChipType(struct rtw_adapter * padapter);
index ff9ad3f1d5106f8c10aad36b8ef5b049c33e1627..fdcee75690278844223792c80f90776b3a7d0915 100644 (file)
@@ -34,6 +34,7 @@ bool rtl8723a_BT_disable_EDCA_turbo(struct rtw_adapter *padapter);
 void rtl8723a_dual_antenna_detection(struct rtw_adapter *padapter);
 void rtl8723a_BT_init_hwconfig(struct rtw_adapter *padapter);
 void rtl8723a_BT_wifiassociate_notify(struct rtw_adapter *padapter, u8 action);
+void rtl8723a_BT_init_hal_vars(struct rtw_adapter *padapter);
 #else
 static inline bool rtl8723a_BT_using_antenna_1(struct rtw_adapter *padapter)
 {
@@ -60,6 +61,7 @@ static inline bool rtl8723a_BT_disable_EDCA_turbo(struct rtw_adapter *padapter)
 #define rtl8723a_dual_antenna_detection(padapter)              do {} while(0)
 #define rtl8723a_BT_init_hwconfig(padapter)                    do {} while(0)
 #define rtl8723a_BT_wifiassociate_notify(padapter, action)     do {} while(0)
+#define rtl8723a_BT_init_hal_vars(padapter)                    do {} while(0)
 #endif
 
 #endif