diff options
Diffstat (limited to 'drivers/pcnet.c')
-rw-r--r-- | drivers/pcnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcnet.c b/drivers/pcnet.c index 24fc64223a..2af0e8f244 100644 --- a/drivers/pcnet.c +++ b/drivers/pcnet.c @@ -45,7 +45,7 @@ #define PCNET_DEBUG2(fmt,args...) #endif -#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) \ +#if defined(CONFIG_CMD_NET) \ && defined(CONFIG_NET_MULTI) && defined(CONFIG_PCNET) #if !defined(CONF_PCNET_79C973) && defined(CONF_PCNET_79C975) |