net: bcm63xx_enet: Fix build failure with phy_ethtool_nway_reset
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 16 Nov 2016 02:21:09 +0000 (18:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 02:56:25 +0000 (21:56 -0500)
Introduced a typo making the driver no longer build, *sigh*.

Fixes: 42469bf5d9bb ("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>
drivers/net/ethernet/broadcom/bcm63xx_enet.c

index a43ab90c051ea05e6671c9cfc7619f9c30d87ec1..3b14d51442280b8a399b0d9b7145bebfc1560597 100644 (file)
@@ -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;
 }