aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fec.c')
-rw-r--r--drivers/net/fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 937f1b4a3483..391a553a3add 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -825,7 +825,7 @@ static int fec_enet_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
825 if (!phydev) 825 if (!phydev)
826 return -ENODEV; 826 return -ENODEV;
827 827
828 return phy_mii_ioctl(phydev, if_mii(rq), cmd); 828 return phy_mii_ioctl(phydev, rq, cmd);
829} 829}
830 830
831static void fec_enet_free_buffers(struct net_device *dev) 831static void fec_enet_free_buffers(struct net_device *dev)