diff options
Diffstat (limited to 'rtc/ds12887.c')
| -rw-r--r-- | rtc/ds12887.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rtc/ds12887.c b/rtc/ds12887.c index 8b12893ce..60382a15d 100644 --- a/rtc/ds12887.c +++ b/rtc/ds12887.c @@ -28,7 +28,7 @@  #include <config.h>  #include <rtc.h> -#if defined(CONFIG_RTC_DS12887) && (CONFIG_COMMANDS & CFG_CMD_DATE) +#if defined(CONFIG_RTC_DS12887) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE))  #define RTC_SECONDS			0x00  #define RTC_SECONDS_ALARM		0x01 |