]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] RTC: Add rtc_year_days() to calculate tm_yday
authorAndrew Victor <andrew@sanpeople.com>
Sun, 25 Jun 2006 12:48:25 +0000 (05:48 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:14 +0000 (10:01 -0700)
commit37f4255a0b385dd2857670ff28a8467c2cd5701b
tree427b2c0a935e880d0a949f22072af207ade1e793
parent3a00e1706191757a62e33a1adac1868310832c35
[PATCH] RTC: Add rtc_year_days() to calculate tm_yday

RTC: Add exported function rtc_year_days() to calculate the tm_yday value.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/rtc-lib.c
include/linux/rtc.h