]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_status
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 00:55:35 +0000 (19:55 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:52:38 +0000 (10:52 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_core.h

index 3a2cfa0cfabbb0b3e34e1da59e6a1cb942f01104..f81680814fb466d04de8195f5b4861d9c757a228 100644 (file)
@@ -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;