]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Convert typedef ccktxbbgain_struct to struct ccktxbbgain
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 04:33:12 +0000 (23:33 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:39:35 +0000 (01:39 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

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

index d2056ed068e327e8c1d970d966d9179aa5b28597..c71d4d2b43f9cf2a51d69b74e5bc6bfa488dcd92 100644 (file)
@@ -496,10 +496,9 @@ struct txbbgain_struct {
        u32     txbbgain_value;
 };
 
-typedef struct _ccktxbbgain_struct
-{
+struct ccktxbbgain {
        u8      ccktxbb_valuearray[8];
-} ccktxbbgain_struct,*pccktxbbgain_struct;
+};
 
 typedef struct _init_gain
 {
@@ -598,8 +597,8 @@ typedef struct r8192_priv
        struct bb_reg_definition PHYRegDef[4];
        rate_adaptive                           rate_adaptive;
 
-       ccktxbbgain_struct                      cck_txbbgain_table[CCKTxBBGainTableLength];
-       ccktxbbgain_struct                      cck_txbbgain_ch14_table[CCKTxBBGainTableLength];
+       struct ccktxbbgain cck_txbbgain_table[CCKTxBBGainTableLength];
+       struct ccktxbbgain cck_txbbgain_ch14_table[CCKTxBBGainTableLength];
 
        struct txbbgain_struct txbbgain_table[TxBBGainTableLength];