aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/adi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/adi')
-rw-r--r--drivers/net/ethernet/adi/bfin_mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
index c7a83f6f2382..a175d0be1ae1 100644
--- a/drivers/net/ethernet/adi/bfin_mac.c
+++ b/drivers/net/ethernet/adi/bfin_mac.c
@@ -425,8 +425,8 @@ static int mii_probe(struct net_device *dev, int phy_mode)
425 return -EINVAL; 425 return -EINVAL;
426 } 426 }
427 427
428 phydev = phy_connect(dev, dev_name(&phydev->dev), &bfin_mac_adjust_link, 428 phydev = phy_connect(dev, dev_name(&phydev->dev),
429 0, phy_mode); 429 &bfin_mac_adjust_link, phy_mode);
430 430
431 if (IS_ERR(phydev)) { 431 if (IS_ERR(phydev)) {
432 netdev_err(dev, "could not attach PHY\n"); 432 netdev_err(dev, "could not attach PHY\n");