From: Daniel Mack Date: Sat, 24 May 2014 07:34:26 +0000 (+0200) Subject: net: of_mdio: add of_mdiobus_link_phydev() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~135^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86f6cf41272de9d6ffa05ab46028b15d160a6f3e;p=pandora-kernel.git 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 Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed