[PATCH 061/166] staging: rtl8192e: Convert typedef init_gain to struct init_gain
Larry Finger
Larry.Finger at lwfinger.net
Wed Aug 24 21:48:08 PDT 2011
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
---
drivers/staging/rtl8192e/rtl_core.h | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h
index c71d4d2..cb28792 100644
--- a/drivers/staging/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl_core.h
@@ -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;
--
1.7.3.4
More information about the devel
mailing list