]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_mii.c
mpc83xx: Fix errors when CONFIG_OF_LIBFDT is enabled
[karo-tx-uboot.git] / common / cmd_mii.c
index e6595360cbeca81a3fe144ee18ad7ae0e8d6bb0e..f6b98d1f3de7f6d50b61acb4a40c4156f69e7bde 100644 (file)
@@ -28,7 +28,7 @@
 #include <common.h>
 #include <command.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_MII)
+#if defined(CONFIG_CMD_MII)
 #include <miiphy.h>
 
 #ifdef CONFIG_TERSE_MII
@@ -595,4 +595,4 @@ U_BOOT_CMD(
 
 #endif /* CONFIG_TERSE_MII */
 
-#endif /* CFG_CMD_MII */
+#endif