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/mcfrtc.c | |
parent | 05675735ef77dc23b5e0eb782bad1ff477b55e86 (diff) | |
download | u-boot-imx-3e66c078003607a7d1d214c15a5f262bc1b4032f.zip u-boot-imx-3e66c078003607a7d1d214c15a5f262bc1b4032f.tar.gz u-boot-imx-3e66c078003607a7d1d214c15a5f262bc1b4032f.tar.bz2 |
Fix some build errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'rtc/mcfrtc.c')
-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 |