diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-19 19:28:39 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 10:52:26 -0500 |
commit | f12dfcb016044ec1c08bb8186255bfb58bbd84f4 (patch) | |
tree | 10c6fdb3c90b0832eccd15d908825437cc92a527 /drivers | |
parent | f58a1cd97e727317ff316f7783592019606b4bc7 (diff) | |
download | op-kernel-dev-f12dfcb016044ec1c08bb8186255bfb58bbd84f4.zip op-kernel-dev-f12dfcb016044ec1c08bb8186255bfb58bbd84f4.tar.gz |
staging: rtl8192e: Convert typedef DIRECTION_VALUE to enum direction_value
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_Qos.h | 4 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_Qos.h b/drivers/staging/rtl8192e/rtl819x_Qos.h index b4290c4..19f10e8 100644 --- a/drivers/staging/rtl8192e/rtl819x_Qos.h +++ b/drivers/staging/rtl8192e/rtl819x_Qos.h @@ -215,12 +215,12 @@ enum qos_ele_subtype { }; -typedef enum _DIRECTION_VALUE{ +enum direction_value { DIR_UP = 0, DIR_DOWN = 1, DIR_DIRECT = 2, DIR_BI_DIR = 3, -} DIRECTION_VALUE,*PDIRECTION_VALUE; +}; typedef enum _ACM_METHOD{ eAcmWay0_SwAndHw = 0, diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 7947e376..6cec575 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -388,7 +388,7 @@ bool GetTs( (&ieee->Tx_TS_Admit_List): (&ieee->Rx_TS_Admit_List); - DIRECTION_VALUE Dir = (ieee->iw_mode == IW_MODE_MASTER)? + enum direction_value Dir = (ieee->iw_mode == IW_MODE_MASTER)? ((TxRxSelect==TX_DIR)?DIR_DOWN:DIR_UP): ((TxRxSelect==TX_DIR)?DIR_UP:DIR_DOWN); RTLLIB_DEBUG(RTLLIB_DL_TS, "to add Ts\n"); |