diff options
-rw-r--r-- | drivers/net/r6040.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 7d482a2316ac..142c381e1d73 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c | |||
@@ -510,7 +510,7 @@ static int r6040_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | |||
510 | if (!lp->phydev) | 510 | if (!lp->phydev) |
511 | return -EINVAL; | 511 | return -EINVAL; |
512 | 512 | ||
513 | return phy_mii_ioctl(lp->phydev, if_mii(rq), cmd); | 513 | return phy_mii_ioctl(lp->phydev, rq, cmd); |
514 | } | 514 | } |
515 | 515 | ||
516 | static int r6040_rx(struct net_device *dev, int limit) | 516 | static int r6040_rx(struct net_device *dev, int limit) |