commit | c30709a932295ba3e7506d72724ac58bac659542 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sun Aug 19 10:27:34 2007 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sun Aug 19 10:27:34 2007 +0200 |
tree | dec434342c6c09b2e4c0c1593b141857cd312d26 | |
parent | 7f3035b3be600dcf0bc1df9e3e3a3798ead6d7ad [diff] [blame] |
Fix some build errors. Signed-off-by: Wolfgang Denk <wd@denx.de>
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