diff options
Diffstat (limited to 'rtc')
-rw-r--r-- | rtc/mcfrtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rtc/mcfrtc.c b/rtc/mcfrtc.c index 76bb510..27386e5 100644 --- a/rtc/mcfrtc.c +++ b/rtc/mcfrtc.c @@ -22,14 +22,14 @@ */ #include <common.h> + +#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE) + #include <command.h> #include <rtc.h> - #include <asm/immap.h> #include <asm/rtc.h> -#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE) - #undef RTC_DEBUG #ifndef CFG_MCFRTC_BASE |