Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method
Browse files Browse the repository at this point in the history
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent f12dfcb commit 379a20f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8192e/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 379a20f

Please sign in to comment.