]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Convert typedef init_gain to struct init_gain
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 04:51:09 +0000 (23:51 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:42:23 +0000 (01:42 -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 c71d4d2b43f9cf2a51d69b74e5bc6bfa488dcd92..cb2879236432310a9e2da324747e89283fa4b506 100644 (file)
@@ -500,15 +500,14 @@ struct ccktxbbgain {
        u8      ccktxbb_valuearray[8];
 };
 
-typedef struct _init_gain
-{
+struct init_gain {
        u8                              xaagccore1;
        u8                              xbagccore1;
        u8                              xcagccore1;
        u8                              xdagccore1;
        u8                              cca;
 
-} init_gain, *pinit_gain;
+};
 
 struct tx_ring {
        u32 * desc;
@@ -949,7 +948,7 @@ typedef struct r8192_priv
        u8              Record_CCK_20Mindex;
        u8              Record_CCK_40Mindex;
 
-       init_gain       initgain_backup;
+       struct init_gain initgain_backup;
        u8              DefaultInitialGain[4];
        bool            bis_any_nonbepkts;
        bool            bcurrent_turbo_EDCA;