summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fec.h
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-05-09 22:19:42 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-05-10 19:06:20 (GMT)
commit45f5c327ce5ce9178147279b5d6b95eac216c84c (patch)
tree0ceeef3c5b3b5de8c6793faf7c880d96361d8040 /drivers/net/ethernet/freescale/fec.h
parent9d9a77cee1ab53dc6419b1ab9da88c4e9342d26a (diff)
downloadlinux-45f5c327ce5ce9178147279b5d6b95eac216c84c.tar.xz
net: ethernet: fec: use phydev from struct net_device
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phydev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.h')
-rw-r--r--drivers/net/ethernet/freescale/fec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h
index 195122e..f58f9ea 100644
--- a/drivers/net/ethernet/freescale/fec.h
+++ b/drivers/net/ethernet/freescale/fec.h
@@ -517,7 +517,6 @@ struct fec_enet_private {
/* Phylib and MDIO interface */
struct mii_bus *mii_bus;
- struct phy_device *phy_dev;
int mii_timeout;
uint phy_speed;
phy_interface_t phy_interface;