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: upstream/snapshot3+hdmi~8929^2^2~864^2~14^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c093c2ba168ec4a4bfd638c4c35cf748ea329a9;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 00d6862..d532937 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;