diff options
Diffstat (limited to 'drivers/net/dnet.c')
-rw-r--r-- | drivers/net/dnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c index 8b0f50bbf3e5..4ea7141f525d 100644 --- a/drivers/net/dnet.c +++ b/drivers/net/dnet.c | |||
@@ -797,7 +797,7 @@ static int dnet_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | |||
797 | if (!phydev) | 797 | if (!phydev) |
798 | return -ENODEV; | 798 | return -ENODEV; |
799 | 799 | ||
800 | return phy_mii_ioctl(phydev, if_mii(rq), cmd); | 800 | return phy_mii_ioctl(phydev, rq, cmd); |
801 | } | 801 | } |
802 | 802 | ||
803 | static void dnet_get_drvinfo(struct net_device *dev, | 803 | static void dnet_get_drvinfo(struct net_device *dev, |