diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-08-20 00:52:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-20 22:27:17 -0700 |
commit | 0f635171e3adad749c2f374aeac97594aba24b52 (patch) | |
tree | 95cf6e1a9e7a8a78ce11f96a1fab1b48e4e17f10 /drivers/net/ethernet/renesas/ravb.h | |
parent | f290040dc5de0dbfa85b64555e1b7d0425276357 (diff) |
net: ethernet: renesas: ravb: 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
phy_dev 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: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/ravb.h')
-rw-r--r-- | drivers/net/ethernet/renesas/ravb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/renesas/ravb.h b/drivers/net/ethernet/renesas/ravb.h index 4e5d5e953e15..f1109661a533 100644 --- a/drivers/net/ethernet/renesas/ravb.h +++ b/drivers/net/ethernet/renesas/ravb.h @@ -1011,7 +1011,6 @@ struct ravb_private { struct work_struct work; /* MII transceiver section. */ struct mii_bus *mii_bus; /* MDIO bus control */ - struct phy_device *phydev; /* PHY device control */ int link; phy_interface_t phy_interface; int msg_enable; |