staging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 23:12:15 +0000 (18:12 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:47:57 +0000 (10:47 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/r8192E_phy.h

index 517eab38b96b061467f9c31214b2a034a26df944..1717ca31dd0a154a274e9e3992d55d686aef1186 100644 (file)
@@ -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
index 29bf6c683a21bfbe911af915bc5cd5fdef51df2e..e214ee7b1408a45da809ff6fddfc9352fa6e6821 100644 (file)
@@ -47,7 +47,7 @@
 
 
 
-typedef enum _SwChnlCmdID {
+enum sw_chnl_cmd_id {
        CmdID_End,
        CmdID_SetTxPowerLevel,
        CmdID_BBRegWrite10,
@@ -55,11 +55,11 @@ typedef enum _SwChnlCmdID {
        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;