]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: net: cpsw: fix phy dt node setting
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 5 Jul 2018 17:02:51 +0000 (12:02 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:23 +0000 (14:08 -0500)
commitd4bb98170006ed98d651fabefab1c0c2b6aac234
tree669223cee34e6bbd6c2be4174e2a6972eec66fef
parentaadbd97843f6cb50aaf4a9f3790058416d98f3b4
drivers: net: cpsw: fix phy dt node setting

Now CPSW driver will overwrite UCLASS_ETH node when PHY is
connected and configured which is not correct.
Use struct phydev->node instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/cpsw.c