]> git.baikalelectronics.ru Git - uboot.git/commit
net: nuvoton: fix build broken for use phy_get_interface_by_name
authorJim Liu <jim.t90615@gmail.com>
Tue, 13 Sep 2022 06:25:21 +0000 (14:25 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 22 Dec 2022 20:39:13 +0000 (15:39 -0500)
commit74f1207c0d35575448ae2e4be1318fa1745afe31
treebf4935706c3e70aeea7744ece3001b6aaddc08c9
parent90e988263ee2e1e343b540559d685a604d624a6d
net: nuvoton: fix build broken for use phy_get_interface_by_name

The original patch is use phy_get_interface_by_name to set interface.
The new patch is use dev_read_phy_mode to replace it.

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/npcm750_eth.c