From: Grygorii Strashko Date: Wed, 16 Jul 2014 12:13:03 +0000 (+0300) Subject: net: davinci_mdio: allow to create phys from dt X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~142^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a0ea068728138641037daa5fce33cb06724285d;p=pandora-kernel.git net: davinci_mdio: allow to create phys from dt This patch allows to create PHYs from DT in case if they are explicitly defined. The of_mdiobus_register() is used for such purposes. For backward compatibility, call of_mdiobus_register() only in case if at least one PHY's child is defined in DT, otherwise rollback to mdiobus_register(). Reviewed-by: Santosh Shilimkar Acked-by: Mugunthan V N Signed-off-by: Grygorii Strashko Reviewed-by: Lad, Prabhakar Signed-off-by: David S. Miller --- Reading git-diff-tree failed