staging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 00:30:04 +0000 (19:30 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:52:26 +0000 (10:52 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

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

index 19f10e8cdaef70fedbc5abf58ec59cb3de0c8e93..59ab0b87227fad1f246d22727aaf7d365353c74a 100644 (file)
@@ -222,11 +222,11 @@ enum direction_value {
        DIR_BI_DIR              = 3,
 };
 
-typedef        enum _ACM_METHOD{
+enum acm_method {
        eAcmWay0_SwAndHw                = 0,
        eAcmWay1_HW                     = 1,
        eAcmWay2_SW                     = 2,
-} ACM_METHOD,*PACM_METHOD;
+};
 
 
 struct acm {
@@ -331,7 +331,7 @@ struct sta_qos {
        u8                              WMMParamEle[WMM_PARAM_ELEMENT_SIZE];
 
        struct acm acm[4];
-       ACM_METHOD              AcmMethod;
+       enum acm_method AcmMethod;
 
        struct qos_tstream StaTsArray[MAX_STA_TS_COUNT];
        u8                              DialogToken;
index 46d8fb99e701674eb5a7a948df9d6f2a939f3c63..3e046aa799d99f22a0a9beff3aa5b75af995ff8a 100644 (file)
@@ -598,7 +598,7 @@ struct r8192_priv {
 
        struct txbbgain_struct txbbgain_table[TxBBGainTableLength];
 
-       ACM_METHOD                              AcmMethod;
+       enum acm_method AcmMethod;
 
        struct rt_firmware                      *pFirmware;
        enum rtl819x_loopback LoopbackMode;