diff options
author | Scott Wood <scottwood@freescale.com> | 2006-12-10 11:19:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-10 18:55:40 +0100 |
commit | 884b4aaaa242a2db8c8252796f0118164a680ab5 (patch) | |
tree | eea898cb8df58cace0a04025b5efdb8b2a2fd3d2 /drivers/rtc/rtc-rs5c372.c | |
parent | [PATCH] geode crypto is PCI device (diff) | |
download | linux-884b4aaaa242a2db8c8252796f0118164a680ab5.tar.xz linux-884b4aaaa242a2db8c8252796f0118164a680ab5.zip |
[PATCH] rtc: Add rtc_merge_alarm()
Add rtc_merge_alarm(), which can be used by rtc drivers to turn a partially
specified alarm expiry (i.e. most significant fields set to -1, as with the
RTC_ALM_SET ioctl()) into a fully specified expiry.
If the most significant specified field is earlier than the current time, the
least significant unspecified field is incremented.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/rtc/rtc-rs5c372.c')
0 files changed, 0 insertions, 0 deletions