Fix some of the sparse warnings

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-05-09 16:00:41 -05:00
parent d4fa4d178f
commit 300892ebfd
14 changed files with 686 additions and 767 deletions

View file

@ -45,7 +45,7 @@ ODM_DIG_LowerBound_88E(
}
#if (defined(CONFIG_HW_ANTENNA_DIVERSITY))
VOID
static VOID
odm_RX_HWAntDivInit(
IN PDM_ODM_T pDM_Odm
)
@ -83,7 +83,7 @@ odm_RX_HWAntDivInit(
//ODM_SetBBReg(pDM_Odm, 0xa00 , BIT15, 1); //Enable CCK AntDiv
}
VOID
static VOID
odm_TRX_HWAntDivInit(
IN PDM_ODM_T pDM_Odm
)
@ -134,7 +134,7 @@ odm_TRX_HWAntDivInit(
//ODM_SetBBReg(pDM_Odm, 0xa00 , BIT15, 1); //Enable CCK AntDiv
}
VOID
static VOID
odm_FastAntTrainingInit(
IN PDM_ODM_T pDM_Odm
)
@ -316,7 +316,7 @@ ODM_UpdateRxIdleAnt_88E(IN PDM_ODM_T pDM_Odm, IN u1Byte Ant)
}
VOID
static VOID
odm_UpdateTxAnt_88E(IN PDM_ODM_T pDM_Odm, IN u1Byte Ant, IN u4Byte MacId)
{
pFAT_T pDM_FatTable = &pDM_Odm->DM_FatTable;
@ -407,7 +407,7 @@ ODM_AntselStatistics_88E(
}
#define TX_BY_REG 0
VOID
static VOID
odm_HWAntDiv(
IN PDM_ODM_T pDM_Odm
)

View file

@ -22,8 +22,8 @@
#include <osdep_service.h>
#include <drv_types.h>
#include <rtl8188e_hal.h>
#include <rtl8188e_led.h>
//================================================================================
// LED object.
//================================================================================
@ -41,11 +41,7 @@
// Description:
// Turn on LED according to LedPin specified.
//
void
SwLedOn(
_adapter *padapter,
PLED_871x pLed
)
void SwLedOn(_adapter *padapter, PLED_871x pLed)
{
u8 LedCfg;
//HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
@ -78,11 +74,7 @@ SwLedOn(
// Description:
// Turn off LED according to LedPin specified.
//
void
SwLedOff(
_adapter *padapter,
PLED_871x pLed
)
void SwLedOff(_adapter *padapter, PLED_871x pLed)
{
u8 LedCfg;
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);