]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fm: call dtsec_init_phy() only when it is defined
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 11 Sep 2024 09:58:18 +0000 (11:58 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Sep 2024 19:41:21 +0000 (13:41 -0600)
commitfd23e80165aafed2cf8c43dc8802c5a465f85a18
tree2d40c8cea9916a31b2d2fb6a4b547d2bda801cc8
parent99f90fcb12e7d42131996ea6111d03cd487348be
net: fm: call dtsec_init_phy() only when it is defined

dtsec_init_phy() is defined only with MII so add the proper conditional
in the caller code.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/net/fm/eth.c