diff options
author | Wolfgang Denk <wd@denx.de> | 2007-08-19 10:27:34 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-19 10:27:34 +0200 |
commit | 3e66c078003607a7d1d214c15a5f262bc1b4032f (patch) | |
tree | dec434342c6c09b2e4c0c1593b141857cd312d26 /rtc | |
parent | 05675735ef77dc23b5e0eb782bad1ff477b55e86 (diff) |
Fix some build errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
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 76bb5107f6a..27386e586a6 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 |