Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- drivers/staging/rtl8192e/r8190P_def.h | 4 ++-- drivers/staging/rtl8192e/r8190P_rtl8256.c | 2 +- drivers/staging/rtl8192e/r8192E_phy.c | 4 ++-- drivers/staging/rtl8192e/rtl_core.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/r8190P_def.h b/drivers/staging/rtl8192e/r8190P_def.h index 52c00a1..f2ad862 100644 --- a/drivers/staging/rtl8192e/r8190P_def.h +++ b/drivers/staging/rtl8192e/r8190P_def.h @@ -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; diff --git a/drivers/staging/rtl8192e/r8190P_rtl8256.c b/drivers/staging/rtl8192e/r8190P_rtl8256.c index b658700..da1cdb5 100644 --- a/drivers/staging/rtl8192e/r8190P_rtl8256.c +++ b/drivers/staging/rtl8192e/r8190P_rtl8256.c @@ -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; diff --git a/drivers/staging/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/r8192E_phy.c index c462d74..566eea1 100644 --- a/drivers/staging/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/r8192E_phy.c @@ -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) diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index a199cfd..4fc78aa 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -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]; -- 1.7.3.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel