staging: r8188eu: make odm_InitHybridAntDiv() static
Function odm_InitHybridAntDiv() is only used in odm.c. Make it static. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211229205108.26373-28-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0956ab4d36
commit
42f88b7927
|
@ -536,6 +536,14 @@ static void odm_TXPowerTrackingThermalMeterInit(struct odm_dm_struct *pDM_Odm)
|
||||||
pDM_Odm->RFCalibrateInfo.TxPowerTrackControl = true;
|
pDM_Odm->RFCalibrateInfo.TxPowerTrackControl = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm)
|
||||||
|
{
|
||||||
|
if (!(pDM_Odm->SupportAbility & ODM_BB_ANT_DIV))
|
||||||
|
return;
|
||||||
|
|
||||||
|
ODM_AntennaDiversityInit_88E(pDM_Odm);
|
||||||
|
}
|
||||||
|
|
||||||
/* 3 Export Interface */
|
/* 3 Export Interface */
|
||||||
|
|
||||||
/* 2011/09/21 MH Add to describe different team necessary resource allocate?? */
|
/* 2011/09/21 MH Add to describe different team necessary resource allocate?? */
|
||||||
|
@ -851,14 +859,6 @@ void ODM_TXPowerTrackingCheck(struct odm_dm_struct *pDM_Odm)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm)
|
|
||||||
{
|
|
||||||
if (!(pDM_Odm->SupportAbility & ODM_BB_ANT_DIV))
|
|
||||||
return;
|
|
||||||
|
|
||||||
ODM_AntennaDiversityInit_88E(pDM_Odm);
|
|
||||||
}
|
|
||||||
|
|
||||||
void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm)
|
void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm)
|
||||||
{
|
{
|
||||||
if (!(pDM_Odm->SupportAbility & ODM_BB_ANT_DIV))
|
if (!(pDM_Odm->SupportAbility & ODM_BB_ANT_DIV))
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
|
|
||||||
void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
|
void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
|
||||||
void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
|
void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
|
||||||
void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm);
|
|
||||||
void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm);
|
void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm);
|
||||||
|
|
||||||
#endif /* __ODM_PRECOMP_H__ */
|
#endif /* __ODM_PRECOMP_H__ */
|
||||||
|
|
Loading…
Reference in New Issue