From e75c3c4a8c53f3ee72e5a696f9792a341744128d Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 19 Jul 2011 18:12:15 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/r8192E_phy.c | 2 +- drivers/staging/rtl8192e/r8192E_phy.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/r8192E_phy.c index 517eab38b96b..1717ca31dd0a 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 29bf6c683a21..e214ee7b1408 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; -- 2.20.1