summaryrefslogtreecommitdiff
path: root/rtc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-19 10:27:34 +0200
committerWolfgang Denk <wd@denx.de>2007-08-19 10:27:34 +0200
commit3e66c078003607a7d1d214c15a5f262bc1b4032f (patch)
treedec434342c6c09b2e4c0c1593b141857cd312d26 /rtc
parent05675735ef77dc23b5e0eb782bad1ff477b55e86 (diff)
downloadu-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')
-rw-r--r--rtc/mcfrtc.c6
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