commit | 1eb729447aaeed92b1945f383868be6546473bae | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jan 13 20:29:47 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 27 17:03:16 2021 -0500 |
tree | c9e7c7c76c3d2bb8e6958d1c62dee5b10d1c43e3 | |
parent | 62b535e33bd9e07e4a984b5ca152d6a8261f80eb [diff] |
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: Simon Glass <sjg@chromium.org>