diff options
Diffstat (limited to 'drivers/net/tc35815.c')
-rw-r--r-- | drivers/net/tc35815.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c index be08b75dbc15..99e423a5b9f1 100644 --- a/drivers/net/tc35815.c +++ b/drivers/net/tc35815.c | |||
@@ -2066,7 +2066,7 @@ static int tc35815_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | |||
2066 | return -EINVAL; | 2066 | return -EINVAL; |
2067 | if (!lp->phy_dev) | 2067 | if (!lp->phy_dev) |
2068 | return -ENODEV; | 2068 | return -ENODEV; |
2069 | return phy_mii_ioctl(lp->phy_dev, if_mii(rq), cmd); | 2069 | return phy_mii_ioctl(lp->phy_dev, rq, cmd); |
2070 | } | 2070 | } |
2071 | 2071 | ||
2072 | static void tc35815_chip_reset(struct net_device *dev) | 2072 | static void tc35815_chip_reset(struct net_device *dev) |