summaryrefslogtreecommitdiffstats
path: root/drivers/dc2114x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dc2114x.c')
-rw-r--r--drivers/dc2114x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dc2114x.c b/drivers/dc2114x.c
index c43cd5ec2f..844cc8df5d 100644
--- a/drivers/dc2114x.c
+++ b/drivers/dc2114x.c
@@ -20,8 +20,8 @@
#include <common.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) \
- && defined(CONFIG_TULIP)
+#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) \
+ && defined(CONFIG_NET_MULTI) && defined(CONFIG_TULIP)
#include <malloc.h>
#include <net.h>
OpenPOWER on IntegriCloud