diff options
Diffstat (limited to 'drivers/net/ethernet/ethoc.c')
-rw-r--r-- | drivers/net/ethernet/ethoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c index b51c81ac0b6f..aa47ef9689a8 100644 --- a/drivers/net/ethernet/ethoc.c +++ b/drivers/net/ethernet/ethoc.c | |||
@@ -682,8 +682,8 @@ static int ethoc_mdio_probe(struct net_device *dev) | |||
682 | return -ENXIO; | 682 | return -ENXIO; |
683 | } | 683 | } |
684 | 684 | ||
685 | err = phy_connect_direct(dev, phy, ethoc_mdio_poll, 0, | 685 | err = phy_connect_direct(dev, phy, ethoc_mdio_poll, |
686 | PHY_INTERFACE_MODE_GMII); | 686 | PHY_INTERFACE_MODE_GMII); |
687 | if (err) { | 687 | if (err) { |
688 | dev_err(&dev->dev, "could not attach to PHY\n"); | 688 | dev_err(&dev->dev, "could not attach to PHY\n"); |
689 | return err; | 689 | return err; |