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