aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc911x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/smsc911x.c')
-rw-r--r--drivers/net/smsc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index cc559741b0fa..56dc2ff75ee3 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -1538,7 +1538,7 @@ static int smsc911x_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
1538 if (!netif_running(dev) || !pdata->phy_dev) 1538 if (!netif_running(dev) || !pdata->phy_dev)
1539 return -EINVAL; 1539 return -EINVAL;
1540 1540
1541 return phy_mii_ioctl(pdata->phy_dev, if_mii(ifr), cmd); 1541 return phy_mii_ioctl(pdata->phy_dev, ifr, cmd);
1542} 1542}
1543 1543
1544static int 1544static int