Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169066
b: refs/heads/master
c: 48a7f77
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Weiner authored and Linus Torvalds committed Dec 2, 2009
1 parent 24fbe73 commit a788acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a1f127a0594d62cb23c26732686d0e2b097b264
refs/heads/master: 48a7f7746875425797aea31ed2910088635c1c7a
2 changes: 1 addition & 1 deletion trunk/drivers/rtc/rtc-x1205.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static int x1205_set_datetime(struct i2c_client *client, struct rtc_time *tm,
/* year, since the rtc epoch*/
buf[CCR_YEAR] = bin2bcd(tm->tm_year % 100);
buf[CCR_WDAY] = tm->tm_wday & 0x07;
buf[CCR_Y2K] = bin2bcd(tm->tm_year / 100);
buf[CCR_Y2K] = bin2bcd((tm->tm_year + 1900) / 100);
}

/* If writing alarm registers, set compare bits on registers 0-4 */
Expand Down

0 comments on commit a788acf

Please sign in to comment.