diff options
Diffstat (limited to 'drivers/net/sh_eth.c')
-rw-r--r-- | drivers/net/sh_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 79fd02bc69fd..a812efc3632e 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c | |||
@@ -1031,7 +1031,7 @@ static int sh_eth_phy_init(struct net_device *ndev) | |||
1031 | mdp->duplex = -1; | 1031 | mdp->duplex = -1; |
1032 | 1032 | ||
1033 | /* Try connect to PHY */ | 1033 | /* Try connect to PHY */ |
1034 | phydev = phy_connect(ndev, phy_id, &sh_eth_adjust_link, | 1034 | phydev = phy_connect(ndev, phy_id, sh_eth_adjust_link, |
1035 | 0, PHY_INTERFACE_MODE_MII); | 1035 | 0, PHY_INTERFACE_MODE_MII); |
1036 | if (IS_ERR(phydev)) { | 1036 | if (IS_ERR(phydev)) { |
1037 | dev_err(&ndev->dev, "phy_connect failed\n"); | 1037 | dev_err(&ndev->dev, "phy_connect failed\n"); |