diff options
author | David S. Miller <davem@davemloft.net> | 2010-07-22 08:10:49 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-22 08:10:49 +0400 |
commit | 4cfa580e7eebb8694b875d2caff3b989ada2efac (patch) | |
tree | 95f8d6f0ad3313c974b0f37498e98d3935d133f5 /drivers | |
parent | 4c3e5edf2f33546392fbd9beaae04e9bed7304ff (diff) | |
download | linux-4cfa580e7eebb8694b875d2caff3b989ada2efac.tar.xz |
r6040: Fix args to phy_mii_ioctl().
Reported by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-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) if (!lp->phydev) return -EINVAL; - return phy_mii_ioctl(lp->phydev, if_mii(rq), cmd); + return phy_mii_ioctl(lp->phydev, rq, cmd); } static int r6040_rx(struct net_device *dev, int limit) |