From 379a20fb29f9328d132cc1839192153149858940 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 19 Jul 2011 19:30:04 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/rtl819x_Qos.h | 6 +++--- drivers/staging/rtl8192e/rtl_core.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_Qos.h b/drivers/staging/rtl8192e/rtl819x_Qos.h index 19f10e8cdaef..59ab0b87227f 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 46d8fb99e701..3e046aa799d9 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; -- 2.39.5