mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
staging:rtl8192u: Rename SwChnlCmdID > switch_chan_cmd_id - Coding Style
Rename enumerated type to clear a CamelCase warning from checkpatch. The change is style only. No impact on run time execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9821cb6d9b
commit
2dad9cba09
2 changed files with 4 additions and 4 deletions
|
|
@ -1219,7 +1219,7 @@ bool rtl8192_SetRFPowerState(struct net_device *dev,
|
|||
* input: SwChnlCmd *CmdTable //table to be set
|
||||
* u32 CmdTableIdx //variable index in table to be set
|
||||
* u32 CmdTableSz //table size
|
||||
* SwChnlCmdID CmdID //command ID to set
|
||||
* switch_chan_cmd_id CmdID //command ID to set
|
||||
* u32 Para1
|
||||
* u32 Para2
|
||||
* u32 msDelay
|
||||
|
|
@ -1228,7 +1228,7 @@ bool rtl8192_SetRFPowerState(struct net_device *dev,
|
|||
* notice:
|
||||
******************************************************************************/
|
||||
static u8 rtl8192_phy_SetSwChnlCmdArray(struct SwChnlCmd *CmdTable, u32 CmdTableIdx,
|
||||
u32 CmdTableSz, enum SwChnlCmdID CmdID,
|
||||
u32 CmdTableSz, enum switch_chan_cmd_id CmdID,
|
||||
u32 Para1, u32 Para2, u32 msDelay)
|
||||
{
|
||||
struct SwChnlCmd *pCmd;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
#define MAX_RFDEPENDCMD_CNT 16
|
||||
#define MAX_POSTCMD_CNT 16
|
||||
|
||||
enum SwChnlCmdID {
|
||||
enum switch_chan_cmd_id {
|
||||
CmdID_End,
|
||||
CmdID_SetTxPowerLevel,
|
||||
CmdID_BBRegWrite10,
|
||||
|
|
@ -20,7 +20,7 @@ enum SwChnlCmdID {
|
|||
/* -----------------------Define structure---------------------- */
|
||||
/* 1. Switch channel related */
|
||||
struct SwChnlCmd {
|
||||
enum SwChnlCmdID CmdID;
|
||||
enum switch_chan_cmd_id CmdID;
|
||||
u32 Para1;
|
||||
u32 Para2;
|
||||
u32 msDelay;
|
||||
|
|
|
|||
Loading…
Reference in a new issue