staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 01:56:03 +0000 (20:56 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:53:01 +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 d53293782fbc3b20ffeee656046b2d32f2b6ae42..23c362545d077bf9eae4762fded14ac0996126b8 100644 (file)
@@ -1799,13 +1799,12 @@ enum fsync_state {
        SW_Fsync
 };
 
-typedef        enum _RT_PS_MODE
-{
+enum rt_ps_mode {
        eActive,
        eMaxPs,
        eFastPs,
        eAutoPs,
-} RT_PS_MODE;
+};
 
 typedef enum _IPS_CALLBACK_FUNCION
 {
@@ -2122,7 +2121,7 @@ struct rtllib_device {
        bool ieee_up;
        bool cannot_notify;
        bool bSupportRemoteWakeUp;
-       RT_PS_MODE      dot11PowerSaveMode;
+       enum rt_ps_mode dot11PowerSaveMode;
        bool actscanning;
        bool FirstIe_InScan;
        bool be_scan_inprogress;