Skip to content
Commit 2d813515 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Fabio Baltieri
Browse files

drivers: ethernet: stm32: Use MDIO API only if enabled by DTS



Not all STM32 series support Zephyr MDIO API yet, while the API is enabled
by default.
To preserve compatibility, put MDIO API related code under the condition
of "st,stm32-mdio" compatible enablement.

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@st.com>
parent f7169737
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment