Fix name of a variable in two macros that use CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx> --- drivers/staging/vt6655/mac.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index b3803143673c..3037502c1883 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -537,11 +537,11 @@ /*--------------------- Export Macros ------------------------------*/ -#define MACvRegBitsOn(iobase, reg_offset, byBits) \ +#define MACvRegBitsOn(iobase, reg_offset, bit_mask) \ do { \ unsigned char byData; \ byData = ioread8(iobase + reg_offset); \ - iowrite8(byData | (byBits), iobase + reg_offset); \ + iowrite8(byData | (bit_mask), iobase + reg_offset); \ } while (0) #define MACvWordRegBitsOn(iobase, reg_offset, wBits) \ @@ -551,11 +551,11 @@ do { \ iowrite16(wData | (wBits), iobase + reg_offset); \ } while (0) -#define MACvRegBitsOff(iobase, reg_offset, byBits) \ +#define MACvRegBitsOff(iobase, reg_offset, bit_mask) \ do { \ unsigned char byData; \ byData = ioread8(iobase + reg_offset); \ - iowrite8(byData & ~(byBits), iobase + reg_offset); \ + iowrite8(byData & ~(bit_mask), iobase + reg_offset); \ } while (0) #define MACvWordRegBitsOff(iobase, reg_offset, wBits) \ -- 2.37.0