]> git.dujemihanovic.xyz Git - u-boot.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)
commitdd5f07eb6b7ee3b3a26f5d2403f53c630d6a5b02
treebf4935706c3e70aeea7744ece3001b6aaddc08c9
parent1db706edcd72724a6f18228d42b26e6b8e9e51ba
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