projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/drivers/net/r6040.c
b/drivers/net/r6040.c
index 7d482a2316acf65c922f6696400ad2db17f4090d..142c381e1d73e0644eac3df74fea212385ad1115 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)