[PATCH 134/166] staging: rtl8192e: Convert typedef DM_DIG_TWO_PORT_ALG_E to enum dm_dig_two_port_alg

Larry Finger Larry.Finger at lwfinger.net
Thu Aug 25 04:58:57 UTC 2011


Remove typedef from enum.
Rename enum.
Rename uses.

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

diff --git a/drivers/staging/rtl8192e/rtl_dm.h b/drivers/staging/rtl8192e/rtl_dm.h
index 550ec30..9a64fe3 100644
--- a/drivers/staging/rtl8192e/rtl_dm.h
+++ b/drivers/staging/rtl8192e/rtl_dm.h
@@ -166,11 +166,10 @@ enum dm_dig_alg {
 	DIG_ALGO_MAX
 };
 
-typedef enum _DM_DIG_TWO_PORT_ALG_E
-{
+enum dm_dig_two_port_alg {
 	DIG_TWO_PORT_ALGO_RSSI = 0,
 	DIG_TWO_PORT_ALGO_FALSE_ALARM = 1,
-} DM_DIG_TWO_PORT_ALG_E;
+};
 
 
 typedef enum _DM_DIG_EXT_PORT_ALG_E
-- 
1.7.3.4




More information about the devel mailing list