diff options
author | Wolfgang Denk <wd@pollux.(none)> | 2005-12-04 11:20:57 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.(none)> | 2005-12-04 11:20:57 +0100 |
commit | 41253be442e35f71fdf26dac71d78451858a1fc7 (patch) | |
tree | 6c6155e29b0d6583a21f97c1a60aa808b4f61039 /rtc | |
parent | f013dacf0a90667fbefe35580f8031a84caeb65e (diff) | |
download | u-boot-imx-41253be442e35f71fdf26dac71d78451858a1fc7.zip u-boot-imx-41253be442e35f71fdf26dac71d78451858a1fc7.tar.gz u-boot-imx-41253be442e35f71fdf26dac71d78451858a1fc7.tar.bz2 |
Fix data overflow (typo?) in rtc/ds1302.c
Diffstat (limited to 'rtc')
-rw-r--r-- | rtc/ds1302.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/ds1302.c b/rtc/ds1302.c index ec5616a..98dce89 100644 --- a/rtc/ds1302.c +++ b/rtc/ds1302.c @@ -226,7 +226,7 @@ rtc_init(void) if (bbclk.year>9) { printf("ds1302: Year was corrupted, fixing\n"); - bbclk.year10=100; /* 2000 - why not? ;) */ + bbclk.year10=100/10; /* 2000 - why not? ;) */ bbclk.year=0; mod=1; } |