]> git.baikalelectronics.ru Git - uboot.git/commit
net: ti: cpsw: Move cpsw_phy_sel() to _probe()
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 18 Mar 2019 08:24:32 +0000 (13:54 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2019 12:05:52 +0000 (08:05 -0400)
commitc329741b6869818b55b1c6753759dfed6983c251
tree7e4fde03eec8aa8d96bc52b00c28a71e9b61a7f2
parent6ff8c3d323627b77cc83c3df5b77d7be9fb7c01c
net: ti: cpsw: Move cpsw_phy_sel() to _probe()

cpsw_phy_sel() is a configuration step that should not be in
ofdata_to_platdata(). Add phy_sel_compat to the cpsw_platform_data
structure so that it is accessible in _probe. Then move the call of
cpsw_phy_sel() to _probe.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
drivers/net/ti/cpsw.c
include/cpsw.h