summaryrefslogtreecommitdiff
path: root/drivers/netarm_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/netarm_eth.c')
-rw-r--r--drivers/netarm_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/netarm_eth.c b/drivers/netarm_eth.c
index 89b3a8394ed..a99ee5da2e3 100644
--- a/drivers/netarm_eth.c
+++ b/drivers/netarm_eth.c
@@ -30,7 +30,7 @@
#include <asm/arch/netarm_registers.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NET)
+#if defined(CONFIG_CMD_NET)
static int na_mii_poll_busy (void);