Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
struct sw_chnl_cmd* CmdTable,
u32 CmdTableIdx,
u32 CmdTableSz,
- SwChnlCmdID CmdID,
+ enum sw_chnl_cmd_id CmdID,
u32 Para1,
u32 Para2,
u32 msDelay
-typedef enum _SwChnlCmdID {
+enum sw_chnl_cmd_id {
CmdID_End,
CmdID_SetTxPowerLevel,
CmdID_BBRegWrite10,
CmdID_WritePortUshort,
CmdID_WritePortUchar,
CmdID_RF_WriteReg,
-} SwChnlCmdID;
+};
/*--------------------------------Define structure--------------------------------*/
struct sw_chnl_cmd {
- SwChnlCmdID CmdID;
+ enum sw_chnl_cmd_id CmdID;
u32 Para1;
u32 Para2;
u32 msDelay;