summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/eth-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 7c2454f5ae..35842f577d 100644
--- a/net/eth-uclass.c
+++ b/net/eth-uclass.c
@@ -487,7 +487,7 @@ static int eth_pre_unbind(struct udevice *dev)
static bool eth_dev_get_mac_address(struct udevice *dev, u8 mac[ARP_HLEN])
{
-#if IS_ENABLED(CONFIG_OF_CONTROL)
+#if CONFIG_IS_ENABLED(OF_CONTROL)
const uint8_t *p;
p = dev_read_u8_array_ptr(dev, "mac-address", ARP_HLEN);