Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id
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 800119e commit e75c3c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/r8192E_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ u8 rtl8192_phy_SetSwChnlCmdArray(
struct sw_chnl_cmd* CmdTable,
u32 CmdTableIdx,
u32 CmdTableSz,
SwChnlCmdID CmdID,
enum sw_chnl_cmd_id CmdID,
u32 Para1,
u32 Para2,
u32 msDelay
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/rtl8192e/r8192E_phy.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@



typedef enum _SwChnlCmdID {
enum sw_chnl_cmd_id {
CmdID_End,
CmdID_SetTxPowerLevel,
CmdID_BBRegWrite10,
CmdID_WritePortUlong,
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;
Expand Down

0 comments on commit e75c3c4

Please sign in to comment.