summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds1556.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-07-14 19:45:37 +0200
committerWolfgang Denk <wd@denx.de>2008-08-18 23:26:54 +0200
commit871c18dd301752270e1f74328c846c3104be1e2e (patch)
tree751251294a1f4583564f7e3e08c9fb15913a3b7b /drivers/rtc/ds1556.c
parenta4a549b4b53adf40a0d3882cc30ac812a8f847c5 (diff)
downloadu-boot-imx-871c18dd301752270e1f74328c846c3104be1e2e.zip
u-boot-imx-871c18dd301752270e1f74328c846c3104be1e2e.tar.gz
u-boot-imx-871c18dd301752270e1f74328c846c3104be1e2e.tar.bz2
rtc: Clean drivers/rtc/Makefile
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/rtc/ds1556.c')
-rw-r--r--drivers/rtc/ds1556.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/ds1556.c b/drivers/rtc/ds1556.c
index 2c496f5..f95f28e 100644
--- a/drivers/rtc/ds1556.c
+++ b/drivers/rtc/ds1556.c
@@ -36,8 +36,7 @@
#include <command.h>
#include <rtc.h>
-
-#if defined(CONFIG_RTC_DS1556) && defined(CONFIG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
static uchar rtc_read( unsigned int addr );
static void rtc_write( unsigned int addr, uchar val);