Skip to content

Commit

Permalink
net: bcm63xx_enet: Fix build failure with phy_ethtool_nway_reset
Browse files Browse the repository at this point in the history
Introduced a typo making the driver no longer build, *sigh*.

Fixes: 42469bf ("net: bcm63xx_enet: Utilize phy_ethtool_nway_reset")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Nov 16, 2016
1 parent 08e10d4 commit 0fa1dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/broadcom/bcm63xx_enet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ static int bcm_enet_nway_reset(struct net_device *dev)

priv = netdev_priv(dev);
if (priv->has_phy)
return phy_ethtool_nway_reset(dev),
return phy_ethtool_nway_reset(dev);

return -EOPNOTSUPP;
}
Expand Down

0 comments on commit 0fa1dfd

Please sign in to comment.