From: Larry Finger Date: Tue, 19 Jul 2011 04:17:46 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef txbbgain_struct to struct txbbgain_struct X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~14^2~139 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=031189ec7693c57bdd016089a6cd007ea1e7a5b6;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Convert typedef txbbgain_struct to struct txbbgain_struct Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index d6e2975e65f9..394f3a753cc4 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -491,11 +491,10 @@ typedef enum _TWO_PORT_STATUS TWO_PORT_STATUS__WITHOUT_ANY_ASSOCIATE }TWO_PORT_STATUS; -typedef struct _txbbgain_struct -{ +struct txbbgain_struct { long txbb_iq_amplifygain; u32 txbbgain_value; -} txbbgain_struct, *ptxbbgain_struct; +}; typedef struct _ccktxbbgain_struct { @@ -602,7 +601,7 @@ typedef struct r8192_priv ccktxbbgain_struct cck_txbbgain_table[CCKTxBBGainTableLength]; ccktxbbgain_struct cck_txbbgain_ch14_table[CCKTxBBGainTableLength]; - txbbgain_struct txbbgain_table[TxBBGainTableLength]; + struct txbbgain_struct txbbgain_table[TxBBGainTableLength]; ACM_METHOD AcmMethod;