commit | f409b36bf868d0b317ba9df8dab33477108127f4 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Mon Jan 11 22:41:26 2016 -0800 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Jan 28 12:23:22 2016 -0600 |
tree | e0584e1b940ffa5fc6069671802db1840b9b51c0 | |
parent | 74314f1f68b415749ceba2382a9f1c1936f204d1 [diff] |
arm: ls102xa: Rewrite the logic of ft_fixup_enet_phy_connect_type() eth_get_dev_by_index() is an API which is not available in driver model. Use eth_get_dev_by_name() instead, which can also simplifly the code logic a little bit. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>