diff options
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 746a776a1653..27f02970d898 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -847,7 +847,7 @@ static int gfar_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | |||
847 | if (!priv->phydev) | 847 | if (!priv->phydev) |
848 | return -ENODEV; | 848 | return -ENODEV; |
849 | 849 | ||
850 | return phy_mii_ioctl(priv->phydev, if_mii(rq), cmd); | 850 | return phy_mii_ioctl(priv->phydev, rq, cmd); |
851 | } | 851 | } |
852 | 852 | ||
853 | static unsigned int reverse_bitmap(unsigned int bit_map, unsigned int max_qs) | 853 | static unsigned int reverse_bitmap(unsigned int bit_map, unsigned int max_qs) |