diff --git a/drivers/net/dsa/mt7530.h b/drivers/net/dsa/mt7530.h index 5e6c778feb23..b7cfb3d52b1c 100644 --- a/drivers/net/dsa/mt7530.h +++ b/drivers/net/dsa/mt7530.h @@ -37,7 +37,7 @@ enum { #define CPU_PORT(x) ((x) << 4) #define CPU_MASK (0xf << 4) #define MIRROR_EN BIT(3) -#define MIRROR_PORT(x) ((x & 0x7)) +#define MIRROR_PORT(x) ((x) & 0x7) #define MIRROR_MASK 0x7 /* Registers for address table access */