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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=031189ec7693c57bdd016089a6cd007ea1e7a5b6;p=openwrt%2Fstaging%2Fblogic.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;