aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aurora/nb8800.h
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-06-18 23:16:54 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-19 10:55:16 -0700
commit46bb0bb094661ef6d251c1f63f6452123f6b273b (patch)
treee6ece779088d4b79369a5fe04e9876285e5ac112 /drivers/net/ethernet/aurora/nb8800.h
parentMerge branch 'ipv6-better-traceroute-sit-gre' (diff)
downloadlinux-dev-46bb0bb094661ef6d251c1f63f6452123f6b273b.tar.xz
linux-dev-46bb0bb094661ef6d251c1f63f6452123f6b273b.zip
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.h1
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;