From: Larry Finger Date: Wed, 20 Jul 2011 01:54:40 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~14^2~37 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c093c2ba168ec4a4bfd638c4c35cf748ea329a9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 00d6862c309c..d53293782fbc 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -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;