diff options
author | Philippe Reynes | 2016-06-18 23:16:54 +0200 |
---|---|---|
committer | David S. Miller | 2016-06-19 10:55:16 -0700 |
commit | 46bb0bb094661ef6d251c1f63f6452123f6b273b (patch) | |
tree | e6ece779088d4b79369a5fe04e9876285e5ac112 /drivers/net/ethernet/aurora/nb8800.h | |
parent | bd081e4b0252c534c27642c9bd8a296ec1e03431 (diff) |
net: ethernet: nb8800: 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>
Acked-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aurora/nb8800.h')
-rw-r--r-- | drivers/net/ethernet/aurora/nb8800.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aurora/nb8800.h b/drivers/net/ethernet/aurora/nb8800.h index e5adbc2aac9f..6ec4a956e1e5 100644 --- a/drivers/net/ethernet/aurora/nb8800.h +++ b/drivers/net/ethernet/aurora/nb8800.h @@ -284,7 +284,6 @@ struct nb8800_priv { struct mii_bus *mii_bus; struct device_node *phy_node; - struct phy_device *phydev; /* PHY connection type from DT */ int phy_mode; |