Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13659
b: refs/heads/master
c: ef96274
h: refs/heads/master
i:
  13657: b523cfb
  13655: e4de748
v: v3
  • Loading branch information
James Chapman authored and Greg Kroah-Hartman committed Nov 8, 2005
1 parent 20bfb44 commit 1094269
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a852daa00ad91350fe603da47becaf3d5af4f2bd
refs/heads/master: ef9627464490fe67235bbd5724d55345b92c0315
4 changes: 2 additions & 2 deletions trunk/drivers/i2c/chips/ds1337.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ static int ds1337_set_datetime(struct i2c_client *client, struct rtc_time *dt)
buf[1] = BIN2BCD(dt->tm_sec);
buf[2] = BIN2BCD(dt->tm_min);
buf[3] = BIN2BCD(dt->tm_hour);
buf[4] = BIN2BCD(dt->tm_wday) + 1;
buf[4] = BIN2BCD(dt->tm_wday + 1);
buf[5] = BIN2BCD(dt->tm_mday);
buf[6] = BIN2BCD(dt->tm_mon) + 1;
buf[6] = BIN2BCD(dt->tm_mon + 1);
val = dt->tm_year;
if (val >= 100) {
val -= 100;
Expand Down

0 comments on commit 1094269

Please sign in to comment.