diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-05-10 01:19:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-10 22:06:20 +0300 |
commit | 45f5c327ce5ce9178147279b5d6b95eac216c84c (patch) | |
tree | 0ceeef3c5b3b5de8c6793faf7c880d96361d8040 /drivers/net/ethernet/freescale/fec.h | |
parent | 9d9a77cee1ab53dc6419b1ab9da88c4e9342d26a (diff) | |
download | linux-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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index 195122e11f10..f58f9ea51639 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; |