staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 01:54:40 +0000 (20:54 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:53:00 +0000 (10:53 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

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

index 00d6862c309cb2303034d888ca7eb044e66d5c4f..d53293782fbc3b20ffeee656046b2d32f2b6ae42 100644 (file)
@@ -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
 {
@@ -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;