Move coloured led API to status_led.h
[oweals/u-boot.git] / drivers / inca-ip_sw.c
index ab22b4d5385417d5563bc73029157a6e3a129fcb..e4aaed6afbc6c1709987c5fbc3226cc0a5487525 100644 (file)
@@ -26,8 +26,8 @@
 
 #include <common.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) \
-       && defined(CONFIG_INCA_IP_SWITCH)
+#if defined(CONFIG_CMD_NET) \
+       && defined(CONFIG_NET_MULTI) && defined(CONFIG_INCA_IP_SWITCH)
 
 #include <malloc.h>
 #include <net.h>