rtl8188eu: Convert "typedef struct _EFUSE_HAL" to "struct efuse_hal"

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-22 17:59:49 -05:00
parent b8e9aac38d
commit d2de492de6
3 changed files with 5 additions and 6 deletions

View file

@ -335,7 +335,7 @@ typedef struct hal_data_8188e
bool EepromOrEfuse;
u8 EfuseMap[2][HWSET_MAX_SIZE_512]; //92C:256bytes, 88E:512bytes, we use union set (512bytes)
u8 EfuseUsedPercentage;
EFUSE_HAL EfuseHal;
struct efuse_hal EfuseHal;
//u8 bIQKInitialized;

View file

@ -83,7 +83,7 @@ struct pgpkt {
};
/*------------------------------Define structure----------------------------*/
typedef struct _EFUSE_HAL{
struct efuse_hal {
u8 fakeEfuseBank;
u32 fakeEfuseUsedBytes;
u8 fakeEfuseContent[EFUSE_MAX_HW_SIZE];
@ -100,8 +100,7 @@ typedef struct _EFUSE_HAL{
u8 fakeBTEfuseContent[EFUSE_MAX_BT_BANK][EFUSE_MAX_HW_SIZE];
u8 fakeBTEfuseInitMap[EFUSE_BT_MAX_MAP_LEN];
u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN];
}EFUSE_HAL, *PEFUSE_HAL;
};
/*------------------------Export global variable----------------------------*/
extern u8 fakeEfuseBank;

View file

@ -7116,7 +7116,7 @@ static int rtw_mp_efuse_get(struct net_device *dev,
PADAPTER padapter = rtw_netdev_priv(dev);
EEPROM_EFUSE_PRIV *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter);
PHAL_DATA_TYPE pHalData = GET_HAL_DATA(padapter);
PEFUSE_HAL pEfuseHal;
struct efuse_hal *pEfuseHal;
struct iw_point *wrqu;
u8 *PROMContent = pEEPROM->efuse_eeprom_data;
@ -7582,7 +7582,7 @@ static int rtw_mp_efuse_set(struct net_device *dev,
PADAPTER padapter;
struct pwrctrl_priv *pwrctrlpriv ;
PHAL_DATA_TYPE pHalData;
PEFUSE_HAL pEfuseHal;
struct efuse_hal *pEfuseHal;
u8 ips_mode,lps_mode;
u32 i, jj, kk;