Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef init_gain to struct init_gain
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 7152e7e commit 43267fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/staging/rtl8192e/rtl_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 43267fe

Please sign in to comment.