[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)
commit8232212e0b4ee4eb3e407f5a9b098f6377820164
tree427b2c0a935e880d0a949f22072af207ade1e793
parent362600fe60fd18a25b4de8ec544b9e24e77e1484
[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