staging: rtl8192e: Convert typedef dig_t to struct dig_t
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 04:38:55 +0000 (23:38 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:40:21 +0000 (01:40 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

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

index 160df4ad7442efa8e197c73d2e2db802d2f522d2..c2c31800b44eeb655f51e39d52a0e80e03b31867 100644 (file)
@@ -64,7 +64,7 @@ static u32 edca_setting_UL[HT_IOT_PEER_MAX] =
 
 
 /*------------------------Define global variable-----------------------------*/
-dig_t  dm_digtable;
+struct dig_t dm_digtable;
 u8             dm_shadow[16][256] = {{0}};
 struct drx_path_sel DM_RxPathSelTable;
 /*------------------------Define global variable-----------------------------*/
index b2aad3ca6b2c6a965e743573e96b89e78737f926..4884e82116b5c4c0715213ec89568c92fa89c1b6 100644 (file)
@@ -84,8 +84,7 @@
 
 
 /*------------------------------Define structure----------------------------*/
-typedef struct _dynamic_initial_gain_threshold_
-{
+struct dig_t {
        u8              dig_enable_flag;
        u8              dig_algorithm;
        u8              Dig_TwoPort_Algorithm;
@@ -126,7 +125,7 @@ typedef struct _dynamic_initial_gain_threshold_
        bool            initialgain_lowerbound_state;
 
        long            rssi_val;
-}dig_t;
+};//;
 
 typedef enum tag_dynamic_init_gain_state_definition
 {
@@ -260,7 +259,7 @@ typedef struct tag_Tx_Config_Cmd_Format
 
 
 /*------------------------Export global variable----------------------------*/
-extern dig_t   dm_digtable;
+extern struct dig_t dm_digtable;
 extern u8              dm_shadow[16][256];
 extern struct drx_path_sel DM_RxPathSelTable;