diff options
Diffstat (limited to 'drivers/net/ethoc.c')
-rw-r--r-- | drivers/net/ethoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c index 5bb6bb74c40e..38c282e6565b 100644 --- a/drivers/net/ethoc.c +++ b/drivers/net/ethoc.c | |||
@@ -730,7 +730,7 @@ static int ethoc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
730 | phy = priv->phy; | 730 | phy = priv->phy; |
731 | } | 731 | } |
732 | 732 | ||
733 | return phy_mii_ioctl(phy, mdio, cmd); | 733 | return phy_mii_ioctl(phy, ifr, cmd); |
734 | } | 734 | } |
735 | 735 | ||
736 | static int ethoc_config(struct net_device *dev, struct ifmap *map) | 736 | static int ethoc_config(struct net_device *dev, struct ifmap *map) |