aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/arm')
-rw-r--r--drivers/net/arm/ixp4xx_eth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/arm/ixp4xx_eth.c b/drivers/net/arm/ixp4xx_eth.c
index ee2f8425dbe7..4f1cc7164ad9 100644
--- a/drivers/net/arm/ixp4xx_eth.c
+++ b/drivers/net/arm/ixp4xx_eth.c
@@ -782,7 +782,8 @@ static int eth_ioctl(struct net_device *dev, struct ifreq *req, int cmd)
782 782
783 if (!netif_running(dev)) 783 if (!netif_running(dev))
784 return -EINVAL; 784 return -EINVAL;
785 return phy_mii_ioctl(port->phydev, if_mii(req), cmd); 785
786 return phy_mii_ioctl(port->phydev, req, cmd);
786} 787}
787 788
788/* ethtool support */ 789/* ethtool support */