Rename variable CmdID_WritePortUchar to cmd_id_write_port_uchar to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@xxxxxxxxxxxxxxx> --- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c index c49dd8094c7c..0e8ca8bef00d 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c @@ -624,7 +624,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel, rtl92e_writew(dev, CurrentCmd->Para1, CurrentCmd->Para2); break; - case CmdID_WritePortUchar: + case cmd_id_write_port_uchar: rtl92e_writeb(dev, CurrentCmd->Para1, CurrentCmd->Para2); break; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 0850ae0015d0..fe81cf9aa862 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -158,7 +158,7 @@ enum sw_chnl_cmd_id { cmd_id_bbreg_write10, cmd_id_write_port_ulong, cmd_id_write_port_ushort, - CmdID_WritePortUchar, + cmd_id_write_port_uchar, CmdID_RF_WriteReg, }; -- 2.30.2