summaryrefslogtreecommitdiff
path: root/rtc
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-02-10 00:03:41 +0000
committerwdenk <wdenk>2004-02-10 00:03:41 +0000
commitcd37d9e6e5e9692d8efafc155df23fa142b63d03 (patch)
tree2c7da916453ce17db49e8556ceca03bf98b3cf62 /rtc
parentec4c544bed9b026cdf93084fb0daa73ec53a9cda (diff)
* Patch by Jian Zhang, 3 Feb 2004:
- Changed the incorrect FAT12BUFSIZE - data_begin in fsdata can be negative. Changed it to be short. * Code cleanup
Diffstat (limited to 'rtc')
-rw-r--r--rtc/ds1306.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/rtc/ds1306.c b/rtc/ds1306.c
index 20f1a50856d..e6694615edd 100644
--- a/rtc/ds1306.c
+++ b/rtc/ds1306.c
@@ -74,10 +74,6 @@ static unsigned char bcd2bin (unsigned char c);
static unsigned char rtc_read (unsigned char reg);
static void rtc_write (unsigned char reg, unsigned char val);
-
-
-
-
/* ************************************************************************* */
#ifdef CONFIG_SXNI855T /* !!! SHOULD BE CHANGED TO NEW CODE !!! */
@@ -306,10 +302,6 @@ void rtc_reset (void)
#else /* not CONFIG_SXNI855T */
/* ************************************************************************* */
-
-
-
-
/* read clock time from DS1306 and return it in *tmp */
void rtc_get (struct rtc_time *tmp)
{