Commit e75c3c4a authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id

Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 800119e7
...@@ -827,7 +827,7 @@ u8 rtl8192_phy_SetSwChnlCmdArray( ...@@ -827,7 +827,7 @@ u8 rtl8192_phy_SetSwChnlCmdArray(
struct sw_chnl_cmd* CmdTable, struct sw_chnl_cmd* CmdTable,
u32 CmdTableIdx, u32 CmdTableIdx,
u32 CmdTableSz, u32 CmdTableSz,
SwChnlCmdID CmdID, enum sw_chnl_cmd_id CmdID,
u32 Para1, u32 Para1,
u32 Para2, u32 Para2,
u32 msDelay u32 msDelay
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
typedef enum _SwChnlCmdID { enum sw_chnl_cmd_id {
CmdID_End, CmdID_End,
CmdID_SetTxPowerLevel, CmdID_SetTxPowerLevel,
CmdID_BBRegWrite10, CmdID_BBRegWrite10,
...@@ -55,11 +55,11 @@ typedef enum _SwChnlCmdID { ...@@ -55,11 +55,11 @@ typedef enum _SwChnlCmdID {
CmdID_WritePortUshort, CmdID_WritePortUshort,
CmdID_WritePortUchar, CmdID_WritePortUchar,
CmdID_RF_WriteReg, CmdID_RF_WriteReg,
} SwChnlCmdID; };
/*--------------------------------Define structure--------------------------------*/ /*--------------------------------Define structure--------------------------------*/
struct sw_chnl_cmd { struct sw_chnl_cmd {
SwChnlCmdID CmdID; enum sw_chnl_cmd_id CmdID;
u32 Para1; u32 Para1;
u32 Para2; u32 Para2;
u32 msDelay; u32 msDelay;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment