diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-05-22 09:47:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-22 15:16:43 -0400 |
commit | 186534a3f83261e4d509ed7721e6a6fdb85ab380 (patch) | |
tree | 2149546f13592344f17c75313b1c4ff4e1d88b43 /drivers/net/ethernet/broadcom/bcmsysport.h | |
parent | 9abf0c2b717a7b59d351c2a15e917f1a78cfca02 (diff) | |
download | op-kernel-dev-186534a3f83261e4d509ed7721e6a6fdb85ab380.zip op-kernel-dev-186534a3f83261e4d509ed7721e6a6fdb85ab380.tar.gz |
net: systemport: use the new fixed PHY helpers
of_phy_connect_fixed_link() is becoming obsolete, and also required
platform code to register the fixed PHYs at the specified addresses for
those to be usable. Get rid of it and use the new of_phy_is_fixed_link()
plus of_phy_register_fixed_link() helpers to transition over the new
scheme.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bcmsysport.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bcmsysport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bcmsysport.h b/drivers/net/ethernet/broadcom/bcmsysport.h index abdeb62..73fd04a 100644 --- a/drivers/net/ethernet/broadcom/bcmsysport.h +++ b/drivers/net/ethernet/broadcom/bcmsysport.h @@ -656,6 +656,7 @@ struct bcm_sysport_priv { unsigned int rx_c_index; /* PHY device */ + struct device_node *phy_dn; struct phy_device *phydev; phy_interface_t phy_interface; int old_pause; |