diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-24 02:54:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-24 17:50:27 -0400 |
commit | 4f2c85106883bada5167e1d42a0409e063da8895 (patch) | |
tree | 2bed1fda692d6383afd2464f08c8c4a584d1af78 /drivers | |
parent | 945c7c73e2e81d68e3e2970afd95254e8f153fc9 (diff) |
pxa168_eth: update call to phy_mii_ioctl()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/pxa168_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pxa168_eth.c b/drivers/net/pxa168_eth.c index 302fb480374b..f324b767f685 100644 --- 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, | |||
1350 | { | 1350 | { |
1351 | struct pxa168_eth_private *pep = netdev_priv(dev); | 1351 | struct pxa168_eth_private *pep = netdev_priv(dev); |
1352 | if (pep->phy != NULL) | 1352 | if (pep->phy != NULL) |
1353 | return phy_mii_ioctl(pep->phy, if_mii(ifr), cmd); | 1353 | return phy_mii_ioctl(pep->phy, ifr, cmd); |
1354 | 1354 | ||
1355 | return -EOPNOTSUPP; | 1355 | return -EOPNOTSUPP; |
1356 | } | 1356 | } |