projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
945c7c7
)
pxa168_eth: update call to phy_mii_ioctl()
author
Dan Carpenter
<error27@gmail.com>
Tue, 24 Aug 2010 06:54:20 +0000
(06:54 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 24 Aug 2010 21:50:27 +0000
(14:50 -0700)
The phy_mii_ioctl() function changed recently. It now takes a struct
ifreq pointer directly.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pxa168_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/pxa168_eth.c
b/drivers/net/pxa168_eth.c
index 302fb480374bfd144b06c2fe05035ccf7335ea04..f324b767f6856f7466fee7f62863df32183f33c7 100644
(file)
--- a/
drivers/net/pxa168_eth.c
+++ b/
drivers/net/pxa168_eth.c
@@
-1350,7
+1350,7
@@
static int pxa168_eth_do_ioctl(struct net_device *dev, struct ifreq *ifr,
{
struct pxa168_eth_private *pep = netdev_priv(dev);
if (pep->phy != NULL)
- return phy_mii_ioctl(pep->phy, if
_mii(ifr)
, cmd);
+ return phy_mii_ioctl(pep->phy, if
r
, cmd);
return -EOPNOTSUPP;
}