[PATCH 128/166] staging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_status

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


Remove typedef from enum.
Rename enum.
Rename uses.

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

diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h
index 3a2cfa0..f816808 100644
--- a/drivers/staging/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl_core.h
@@ -477,15 +477,14 @@ struct channel_access_setting {
 	u16 CWmaxIndex;
 };
 
-typedef enum _TWO_PORT_STATUS
-{
+enum two_port_status {
 	TWO_PORT_STATUS__DEFAULT_ONLY,
 	TWO_PORT_STATUS__EXTENSION_ONLY,
 	TWO_PORT_STATUS__EXTENSION_FOLLOW_DEFAULT,
 	TWO_PORT_STATUS__DEFAULT_G_EXTENSION_N20,
 	TWO_PORT_STATUS__ADHOC,
 	TWO_PORT_STATUS__WITHOUT_ANY_ASSOCIATE
-} TWO_PORT_STATUS;
+};
 
 struct txbbgain_struct {
 	long	txbb_iq_amplifygain;
-- 
1.7.3.4




More information about the devel mailing list