Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef dig_t to struct dig_t
Browse files Browse the repository at this point in the history
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent 8e8b90c commit 7204b51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl_dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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-----------------------------*/
Expand Down
7 changes: 3 additions & 4 deletions drivers/staging/rtl8192e/rtl_dm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 7204b51

Please sign in to comment.