aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/niu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r--drivers/net/niu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index 76cc2614f480..f9364d0678f2 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -5615,7 +5615,7 @@ static void niu_init_tx_mac(struct niu *np)
5615 /* The XMAC_MIN register only accepts values for TX min which 5615 /* The XMAC_MIN register only accepts values for TX min which
5616 * have the low 3 bits cleared. 5616 * have the low 3 bits cleared.
5617 */ 5617 */
5618 BUILD_BUG_ON(min & 0x7); 5618 BUG_ON(min & 0x7);
5619 5619
5620 if (np->flags & NIU_FLAGS_XMAC) 5620 if (np->flags & NIU_FLAGS_XMAC)
5621 niu_init_tx_xmac(np, min, max); 5621 niu_init_tx_xmac(np, min, max);