diff options
author | Daniel Mack <zonque@gmail.com> | 2014-05-24 09:34:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-29 15:23:29 -0700 |
commit | 86f6cf41272de9d6ffa05ab46028b15d160a6f3e (patch) | |
tree | 9dbea82327ba7dbd59d840da6ac29e2a13b92097 /kernel | |
parent | 8f8382888cbaf6de13046437d41a1c3d1394d51f (diff) | |
download | linux-86f6cf41272de9d6ffa05ab46028b15d160a6f3e.tar.gz linux-86f6cf41272de9d6ffa05ab46028b15d160a6f3e.tar.bz2 linux-86f6cf41272de9d6ffa05ab46028b15d160a6f3e.zip |
net: of_mdio: add of_mdiobus_link_phydev()
Add a function to walk the list of subnodes of a mdio bus and look for
a node that matches the phy's address with its 'reg' property. If found,
set the of_node pointer for the phy. This allows auto-probed pyh
devices to be augmented by information passed in via DT.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions