Skip to contentSkip to conversation

pxa168_eth: update call to phy_mii_ioctl()

PATCH Applied Dan Carpenter 2 participants 2 messages Aug 24, 2010

Subsystems (3)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 pxa168_eth: update call to phy_mii_ioctl()

The phy_mii_ioctl() function changed recently. It now takes a struct ifreq pointer directly.

drivers/net/pxa168_eth.c +1 -1
index 302fb48..f324b76 100644
@@ -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;
 }