Message ID | 20210208140341.9271-9-Sergey.Semin@baikalelectronics.ru |
---|---|
State | New |
Headers | show |
Series | net: stmmac: Obvious cleanups and several fixes | expand |
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h b/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h index 6c3b8a950f58..2e6f60633128 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h +++ b/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h @@ -191,7 +191,7 @@ #define XGMAC_L3_ADDR0 0x4 #define XGMAC_L3_ADDR1 0x5 #define XGMAC_L3_ADDR2 0x6 -#define XMGAC_L3_ADDR3 0x7 +#define XGMAC_L3_ADDR3 0x7 #define XGMAC_ARP_ADDR 0x00000c10 #define XGMAC_RSS_CTRL 0x00000c80 #define XGMAC_UDP4TE BIT(3)
The macro has been declared as XMGAC_L3_ADDR3 with obvious second and third chars confused. Revert them then. Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> --- drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)