Skip to content
Commit e397b1b6 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Mahesh Mahadevan
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>
(cherry picked from commit 2d813515)
parent b1631a29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment