diff options
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index af075af20e0c..2fcdb1e1b99d 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -2461,7 +2461,7 @@ static int mv643xx_eth_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
2461 | struct mv643xx_eth_private *mp = netdev_priv(dev); | 2461 | struct mv643xx_eth_private *mp = netdev_priv(dev); |
2462 | 2462 | ||
2463 | if (mp->phy != NULL) | 2463 | if (mp->phy != NULL) |
2464 | return phy_mii_ioctl(mp->phy, if_mii(ifr), cmd); | 2464 | return phy_mii_ioctl(mp->phy, ifr, cmd); |
2465 | 2465 | ||
2466 | return -EOPNOTSUPP; | 2466 | return -EOPNOTSUPP; |
2467 | } | 2467 | } |