Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state
Browse files Browse the repository at this point in the history
Remove typedef from enum.
Rename enum.
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 3b45eb8 commit 3c093c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1793,11 +1793,11 @@ struct rx_reorder_entry {
u16 SeqNum;
struct rtllib_rxb* prxb;
};
typedef enum _Fsync_State{
enum fsync_state {
Default_Fsync,
HW_Fsync,
SW_Fsync
} Fsync_State;
};

typedef enum _RT_PS_MODE
{
Expand Down Expand Up @@ -2377,7 +2377,7 @@ struct rtllib_device {
u8 fsync_multiple_timeinterval;
u32 fsync_firstdiff_ratethreshold;
u32 fsync_seconddiff_ratethreshold;
Fsync_State fsync_state;
enum fsync_state fsync_state;
bool bis_any_nonbepkts;
struct bandwidth_autoswitch bandwidth_auto_switch;
bool FwRWRF;
Expand Down

0 comments on commit 3c093c2

Please sign in to comment.