summaryrefslogtreecommitdiff
path: root/board/etin/debris/phantom.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/etin/debris/phantom.c')
-rw-r--r--board/etin/debris/phantom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/etin/debris/phantom.c b/board/etin/debris/phantom.c
index 0b81fc0c3a..18ab5005ef 100644
--- a/board/etin/debris/phantom.c
+++ b/board/etin/debris/phantom.c
@@ -18,7 +18,7 @@
#include <command.h>
#include <rtc.h>
-#if (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
#define RTC_BASE (CFG_NVRAM_BASE_ADDR + 0x7fff8)