From: Florian Fainelli Date: Wed, 16 Nov 2016 02:21:09 +0000 (-0800) Subject: net: bcm63xx_enet: Fix build failure with phy_ethtool_nway_reset X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0fa1dfd6b92b31eed5446e907049d5b0062b8860;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: bcm63xx_enet: Fix build failure with phy_ethtool_nway_reset 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/bcm63xx_enet.c index a43ab90c051e..3b14d5144228 100644 --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c @@ -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; }