From: Larry Finger Date: Tue, 19 Jul 2011 23:12:15 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e75c3c4a8c53f3ee72e5a696f9792a341744128d;p=mv-sheeva.git staging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/r8192E_phy.c index 517eab38b96..1717ca31dd0 100644 --- a/drivers/staging/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/r8192E_phy.c @@ -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 diff --git a/drivers/staging/rtl8192e/r8192E_phy.h b/drivers/staging/rtl8192e/r8192E_phy.h index 29bf6c683a2..e214ee7b140 100644 --- a/drivers/staging/rtl8192e/r8192E_phy.h +++ b/drivers/staging/rtl8192e/r8192E_phy.h @@ -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;