summaryrefslogtreecommitdiff
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2009-05-04 14:09:15 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:37:53 -0800
commit7f4c480f282726087b05c8659e54655e76838411 (patch)
tree3c8bb87689e792c938a4470500ec47f57673f165 /drivers/rtc/Kconfig
parenteb87eb5a288da70263bc424dbe20a9eb0a468f82 (diff)
rtc: alarm: Add in-kernel alarm interface
Drivers can now create alarms that will use an hrtimer while the system is running and the rtc to wake up from suspend. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 7f1abd6949e8..411c83d391ff 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -113,9 +113,17 @@ config RTC_INTF_ALARM
help
Provides non-wakeup and rtc backed wakeup alarms based on rtc or
elapsed realtime, and a non-wakeup alarm on the monotonic clock.
- Also provides an ioctl to set the wall time which must be used
+ Also provides an interface to set the wall time which must be used
for elapsed realtime to work.
+config RTC_INTF_ALARM_DEV
+ bool "Android alarm device"
+ depends on RTC_INTF_ALARM
+ default y
+ help
+ Exports the alarm interface to user-space.
+
+
config RTC_DRV_TEST
tristate "Test driver/device"
help