Skip to content

Commit

Permalink
pxa168_eth: update call to phy_mii_ioctl()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Aug 24, 2010
1 parent 945c7c7 commit 4f2c851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/pxa168_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ifr, cmd);

return -EOPNOTSUPP;
}
Expand Down

0 comments on commit 4f2c851

Please sign in to comment.