diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-18 23:38:55 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:40:21 -0500 |
commit | 7204b51e0a071a968a2357a8737772f33934da2f (patch) | |
tree | 92d75f0c3c47e03687342360379b2ebb3593dce8 | |
parent | 8e8b90c60be8963a312118f435314a47f64160f2 (diff) | |
download | op-kernel-dev-7204b51e0a071a968a2357a8737772f33934da2f.zip op-kernel-dev-7204b51e0a071a968a2357a8737772f33934da2f.tar.gz |
staging: rtl8192e: Convert typedef dig_t to struct dig_t
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
-rw-r--r-- | drivers/staging/rtl8192e/rtl_dm.c | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtl_dm.h | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl_dm.c index 160df4a..c2c3180 100644 --- a/drivers/staging/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl_dm.c @@ -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-----------------------------*/ diff --git a/drivers/staging/rtl8192e/rtl_dm.h b/drivers/staging/rtl8192e/rtl_dm.h index b2aad3c..4884e82 100644 --- a/drivers/staging/rtl8192e/rtl_dm.h +++ b/drivers/staging/rtl8192e/rtl_dm.h @@ -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; |