projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c3e5ed
)
r6040: Fix args to phy_mii_ioctl().
author
David S. Miller
<davem@davemloft.net>
Thu, 22 Jul 2010 04:10:49 +0000
(21:10 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 22 Jul 2010 04:10:49 +0000
(21:10 -0700)
Reported by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r6040.c
patch
|
blob
|
history
diff --git
a/drivers/net/r6040.c
b/drivers/net/r6040.c
index
7d482a2
..
142c381
100644
(file)
--- 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)