summaryrefslogtreecommitdiffstats
path: root/drivers/ns8382x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ns8382x.c')
-rw-r--r--drivers/ns8382x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ns8382x.c b/drivers/ns8382x.c
index 69002cd524..f8b143a01a 100644
--- a/drivers/ns8382x.c
+++ b/drivers/ns8382x.c
@@ -56,7 +56,7 @@
#include <asm/io.h>
#include <pci.h>
-#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) \
+#if defined(CONFIG_CMD_NET) \
&& defined(CONFIG_NET_MULTI) && defined(CONFIG_NS8382X)
/* defines */
OpenPOWER on IntegriCloud