commit | e50f878c98ddec1f8247b835335d7ea1ab8e7b3f | [log] [tgz] |
---|---|---|
author | Faiz Abbas <faiz_abbas@ti.com> | Mon Mar 18 13:54:32 2019 +0530 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 12 08:05:52 2019 -0400 |
tree | 7e4fde03eec8aa8d96bc52b00c28a71e9b61a7f2 | |
parent | 3c6add986f1cfca8651e5bfd5a8dbefa6d89ecc9 [diff] |
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>