aboutsummaryrefslogtreecommitdiff
path: root/include/mk48t59.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mk48t59.h')
-rw-r--r--include/mk48t59.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mk48t59.h b/include/mk48t59.h
index 03c992e..a4459c0 100644
--- a/include/mk48t59.h
+++ b/include/mk48t59.h
@@ -26,7 +26,7 @@
*/
-#if defined(CONFIG_RTC_MK48T59) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_RTC_MK48T59) && defined(CONFIG_CMD_DATE)
#define RTC_PORT_ADDR0 CFG_ISA_IO + 0x70
#define RTC_PORT_ADDR1 RTC_PORT_ADDR0 + 0x1