Commit 9bf6e4c1 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef BB_REGISTER_DEFINITION_T to struct bb_reg_definition

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 38b1f67d
......@@ -159,7 +159,7 @@ typedef enum _INTERFACE_SELECT_8190PCI{
INTF_SEL3_RSV = 3,
} INTERFACE_SELECT_8190PCI, *PINTERFACE_SELECT_8190PCI;
typedef struct _BB_REGISTER_DEFINITION{
struct bb_reg_definition {
u32 rfintfs;
u32 rfintfi;
u32 rfintfo;
......@@ -178,7 +178,7 @@ typedef struct _BB_REGISTER_DEFINITION{
u32 rfTxAFE;
u32 rfLSSIReadBack;
u32 rfLSSIReadBackPi;
}BB_REGISTER_DEFINITION_T, *PBB_REGISTER_DEFINITION_T;
};//, *struct bb_reg_definition *;
typedef struct _TX_FWINFO_STRUCUTRE{
u8 TxRate:7;
......
......@@ -79,7 +79,7 @@ bool phy_RF8256_Config_ParaFile(struct net_device* dev)
u32 u4RegValue = 0;
u8 eRFPath;
bool rtStatus = true;
BB_REGISTER_DEFINITION_T *pPhyReg;
struct bb_reg_definition *pPhyReg;
struct r8192_priv *priv = rtllib_priv(dev);
u32 RegOffSetToBeCheck = 0x3;
u32 RegValueToBeCheck = 0x7f1;
......
......@@ -104,7 +104,7 @@ u32 rtl8192_phy_RFSerialRead(struct net_device* dev, RF90_RADIO_PATH_E eRFPath,
struct r8192_priv *priv = rtllib_priv(dev);
u32 ret = 0;
u32 NewOffset = 0;
BB_REGISTER_DEFINITION_T* pPhyReg = &priv->PHYRegDef[eRFPath];
struct bb_reg_definition* pPhyReg = &priv->PHYRegDef[eRFPath];
Offset &= 0x3f;
if (priv->rf_chip == RF_8256)
......@@ -164,7 +164,7 @@ void rtl8192_phy_RFSerialWrite(struct net_device* dev, RF90_RADIO_PATH_E eRFPath
{
struct r8192_priv *priv = rtllib_priv(dev);
u32 DataAndAddr = 0, NewOffset = 0;
BB_REGISTER_DEFINITION_T *pPhyReg = &priv->PHYRegDef[eRFPath];
struct bb_reg_definition *pPhyReg = &priv->PHYRegDef[eRFPath];
Offset &= 0x3f;
if (priv->rf_chip == RF_8256)
......
......@@ -596,7 +596,7 @@ typedef struct r8192_priv
RT_RF_TYPE_819xU rf_chip;
IC_INFERIORITY_8192S IC_Class;
HT_CHANNEL_WIDTH CurrentChannelBW;
BB_REGISTER_DEFINITION_T PHYRegDef[4];
struct bb_reg_definition PHYRegDef[4];
rate_adaptive rate_adaptive;
ccktxbbgain_struct cck_txbbgain_table[CCKTxBBGainTableLength];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment