Skip to content
Snippets Groups Projects
Commit 13ae2a40 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Jagan Teki
Browse files

net: sun8i_emac: Fix build for non-H3/H5 SoCs


Only the H3/H5 SoCs have an internal PHY and its related clock and
reset controls.

Use an #ifdef to guard the internal PHY control code block so it
can be built for other SoCs, such as the A83T or A64.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent 60567a32
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment