alarmtimer: Provide accessor to alarmtimer rtc device
authorJohn Stultz <john.stultz@linaro.org>
Sat, 10 Dec 2011 02:44:02 +0000 (18:44 -0800)
committerColin Cross <ccross@android.com>
Tue, 14 Feb 2012 19:31:29 +0000 (11:31 -0800)
commit47be93e1fb9fed8f92cbb544bab55f5749ef93ed
tree794aaaebc956728621a5ed9305dea92a0fc9d919
parent9bb0edbc57c06202eec6c2162ae419a6d413ee61
alarmtimer: Provide accessor to alarmtimer rtc device

The Android alarm interface provides a settime call that sets both
the alarmtimer RTC device and CLOCK_REALTIME to the same value.

Since there may be multiple rtc devices, provide a hook to access the
one the alarmtimer infrastructure is using.

Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/alarmtimer.h
kernel/time/alarmtimer.c