staging: rtl8192e: Convert typedef BB_REGISTER_DEFINITION_T to struct bb_reg_definition
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 02:16:51 +0000 (21:16 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:06:56 +0000 (01:06 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/r8190P_def.h
drivers/staging/rtl8192e/r8190P_rtl8256.c
drivers/staging/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/rtl_core.h

index 52c00a1..f2ad862 100644 (file)
@@ -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;
index b658700..da1cdb5 100644 (file)
@@ -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;
index c462d74..566eea1 100644 (file)
@@ -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)
index a199cfd..4fc78aa 100644 (file)
@@ -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];