Commit 3ebdf34f authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Rename CmdID_WritePortUlong > CMD_ID_WRITE_PORT_ULONG

Rename enum label CmdID_WritePortUlong to CMD_ID_WRITE_PORT_ULONG to clear the
checkpatch CamelCase issue. Simple syle change which should not impact code
execution.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a11b194
...@@ -1379,7 +1379,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel, ...@@ -1379,7 +1379,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
/* consider it later! */ /* consider it later! */
rtl8192_SetTxPowerLevel(dev, channel); rtl8192_SetTxPowerLevel(dev, channel);
break; break;
case CmdID_WritePortUlong: case CMD_ID_WRITE_PORT_ULONG:
write_nic_dword(dev, CurrentCmd->Para1, write_nic_dword(dev, CurrentCmd->Para1,
CurrentCmd->Para2); CurrentCmd->Para2);
break; break;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
enum switch_chan_cmd_id { enum switch_chan_cmd_id {
CMD_ID_END, CMD_ID_END,
CMD_ID_SET_TX_PWR_LEVEL, CMD_ID_SET_TX_PWR_LEVEL,
CmdID_WritePortUlong, CMD_ID_WRITE_PORT_ULONG,
CmdID_WritePortUshort, CmdID_WritePortUshort,
CmdID_WritePortUchar, CmdID_WritePortUchar,
CmdID_RF_WriteReg, CmdID_RF_WriteReg,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment