Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224077
b: refs/heads/master
c: d3e1884
h: refs/heads/master
i:
  224075: 17c32e8
v: v3
  • Loading branch information
Feng Tang authored and Thomas Gleixner committed Nov 17, 2010
1 parent 5ae8f59 commit 9ce3c4d
Show file tree
Hide file tree
Showing 2 changed files with 6 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: ad02519a0d27da4a0a50cbc696e810c94e27c28e
refs/heads/master: d3e1884bc585a43674d2cb0d3f0aeeb0ae43bc04
6 changes: 5 additions & 1 deletion trunk/drivers/rtc/rtc-mrst.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ static inline int is_intr(u8 rtc_intr)
* rtc_time's year contains the increment over 1900, but vRTC's YEAR
* register can't be programmed to value larger than 0x64, so vRTC
* driver chose to use 1960 (1970 is UNIX time start point) as the base,
* and does the translation at read/write time
* and does the translation at read/write time.
*
* Why not just use 1970 as the offset? it's because using 1960 will
* make it consistent in leap year setting for both vrtc and low-level
* physical rtc devices.
*/
static int mrst_read_time(struct device *dev, struct rtc_time *time)
{
Expand Down

0 comments on commit 9ce3c4d

Please sign in to comment.