Skip to content
Commit 177e7f9c authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

net: Use CONFIG_IS_ENABLED() in eth_dev_get_mac_address()



This function may be used in SPL where devicetree is not available.
Use the correct macro so that the function does not try to read it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 7d70116f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment