From f3a610fffe200050fa6dfac42e7019c0f8ecb4e9 Mon Sep 17 00:00:00 2001 From: Benjamin Kyd Date: Mon, 23 Jan 2023 10:39:12 +0000 Subject: [PATCH] drivers: ethernet: cvsx change bit label Change the bit label to include the BIT() macro to tidy up the code. Signed-off-by: Benjamin Kyd --- drivers/ethernet/phy_cyclonev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ethernet/phy_cyclonev.c b/drivers/ethernet/phy_cyclonev.c index d821be85a49..5a6fb8b3ae5 100644 --- a/drivers/ethernet/phy_cyclonev.c +++ b/drivers/ethernet/phy_cyclonev.c @@ -47,7 +47,7 @@ #define PHY_RESTART_AUTONEGOTIATION BIT(9) /* Basic Status Register */ -#define PHY_BSR (1) +#define PHY_BSR BIT(0) #define PHY_AUTOCAP BIT(3) /* Auto-negotiation capability */ #define PHY_LINKED_STATUS BIT(2) #define PHY_AUTONEGO_COMPLETE BIT(5)