projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/omapdrm: Add gamma table support to DSS dispc
[deliverable/linux.git]
/
drivers
/
rtc
/
rtc-ds1302.c
diff --git
a/drivers/rtc/rtc-ds1302.c
b/drivers/rtc/rtc-ds1302.c
index 283e653fa1896aa9b60bfa91c5b366a22ec9973f..f5dd09fe5add5e65a40d9d178f0283a30c9e6548 100644
(file)
--- a/
drivers/rtc/rtc-ds1302.c
+++ b/
drivers/rtc/rtc-ds1302.c
@@
-65,7
+65,7
@@
static int ds1302_rtc_set_time(struct device *dev, struct rtc_time *time)
*bp++ = bin2bcd(time->tm_hour);
*bp++ = bin2bcd(time->tm_mday);
*bp++ = bin2bcd(time->tm_mon + 1);
- *bp++ = time->tm_wday;
+ *bp++ = time->tm_wday
+ 1
;
*bp++ = bin2bcd(time->tm_year % 100);
*bp++ = RTC_CMD_WRITE_DISABLE;
This page took
0.026589 seconds
and
5
git commands to generate.