]> Pileus Git - ~andy/linux/commit
alarmtimer: Provide accessor to alarmtimer rtc device
authorJohn Stultz <john.stultz@linaro.org>
Fri, 20 Apr 2012 19:31:45 +0000 (12:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Apr 2012 21:56:36 +0000 (14:56 -0700)
commit57c498fa5df05e4bd410c101795368439fec7b4e
treed4630cd56319d4ff21b5086b0661758a740bb8b9
parente2d8ccef0a8e8aedaf401edca6ad54663b0da24b
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.

CC: Colin Cross <ccross@android.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Android Kernel Team <kernel-team@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/alarmtimer.h
kernel/time/alarmtimer.c