2013-07-23 03:10:59 +08:00
|
|
|
--- a/drivers/net/ethernet/ar231x/ar231x.c
|
|
|
|
+++ b/drivers/net/ethernet/ar231x/ar231x.c
|
2014-06-10 17:06:22 +08:00
|
|
|
@@ -1272,7 +1272,7 @@ static int ar231x_mdiobus_probe(struct n
|
2013-07-23 03:10:59 +08:00
|
|
|
BUG_ON(phydev->attached_dev);
|
|
|
|
|
2014-06-10 17:06:22 +08:00
|
|
|
phydev = phy_connect(dev, dev_name(&phydev->dev), &ar231x_adjust_link,
|
|
|
|
- 0, PHY_INTERFACE_MODE_MII);
|
|
|
|
+ PHY_INTERFACE_MODE_MII);
|
2013-07-23 03:10:59 +08:00
|
|
|
|
|
|
|
if (IS_ERR(phydev)) {
|
2014-06-10 17:06:22 +08:00
|
|
|
printk(KERN_ERR "%s: Could not attach to PHY\n", dev->name);
|