[PATCH 154/166] staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state

Larry Finger Larry.Finger at lwfinger.net
Thu Aug 25 04:59:17 UTC 2011


Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
---
 drivers/staging/rtl8192e/rtllib.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

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;
-- 
1.7.3.4




More information about the devel mailing list