From: Larry Finger Date: Wed, 20 Jul 2011 00:30:04 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=379a20fb29f9328d132cc1839192153149858940;p=mv-sheeva.git staging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl819x_Qos.h b/drivers/staging/rtl8192e/rtl819x_Qos.h index 19f10e8cdae..59ab0b87227 100644 --- a/drivers/staging/rtl8192e/rtl819x_Qos.h +++ b/drivers/staging/rtl8192e/rtl819x_Qos.h @@ -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; diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index 46d8fb99e70..3e046aa799d 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -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;