summaryrefslogtreecommitdiff
path: root/common/cmd_dtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_dtt.c')
-rw-r--r--common/cmd_dtt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_dtt.c b/common/cmd_dtt.c
index 4f7b049d79..8da95bf9d3 100644
--- a/common/cmd_dtt.c
+++ b/common/cmd_dtt.c
@@ -25,7 +25,7 @@
#include <config.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_DTT)
+#if defined(CONFIG_CMD_DTT)
#include <dtt.h>
#include <i2c.h>
@@ -61,4 +61,4 @@ U_BOOT_CMD(
" - Read temperature from digital thermometer and thermostat.\n"
);
-#endif /* CONFIG_COMMANDS & CFG_CMD_DTT */
+#endif