]> Pileus Git - ~andy/linux/blobdiff - drivers/net/au1000_eth.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bcopeland...
[~andy/linux] / drivers / net / au1000_eth.c
index 17e7e27eb2227d936b3432ead5a7b35ef107d354..15ae6df2ff00b89885e778f8b1a8241a1959ddc3 100644 (file)
@@ -970,7 +970,7 @@ static int au1000_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
        if (!aup->phy_dev)
                return -EINVAL; /* PHY not controllable */
 
-       return phy_mii_ioctl(aup->phy_dev, if_mii(rq), cmd);
+       return phy_mii_ioctl(aup->phy_dev, rq, cmd);
 }
 
 static const struct net_device_ops au1000_netdev_ops = {