]> Pileus Git - ~andy/linux/commitdiff
staging: android-alarm: Reenable android alarm driver
authorJohn Stultz <john.stultz@linaro.org>
Thu, 9 Feb 2012 22:24:36 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2012 18:06:43 +0000 (10:06 -0800)
Now that it builds, re-enable android alarm driver in
the makefile and kconfig

CC: Arve Hjønnevåg <arve@android.com>
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>
drivers/staging/android/Kconfig
drivers/staging/android/Makefile

index becf711117efffb56afda428d38ed4dc5428c9df..2a2b3867a65650045e909c9db495892d2784b234 100644 (file)
@@ -105,6 +105,23 @@ config ANDROID_PMEM
 
 source "drivers/staging/android/switch/Kconfig"
 
+config ANDROID_INTF_ALARM
+       bool "Android alarm driver"
+       depends on RTC_CLASS
+       default y
+       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 interface to set the wall time which must be used
+         for elapsed realtime to work.
+
+config ANDROID_INTF_ALARM_DEV
+       bool "Android alarm device"
+       depends on ANDROID_INTF_ALARM
+       default y
+       help
+         Exports the alarm interface to user-space.
+
 endif # if ANDROID
 
 endmenu
index eaed1ff64f0f74a286480c00d9535b8ccdc39846..7c6e53b89e6e692a56baee1d9528743b0a19c4fc 100644 (file)
@@ -7,3 +7,5 @@ obj-$(CONFIG_ANDROID_TIMED_GPIO)        += timed_gpio.o
 obj-$(CONFIG_ANDROID_LOW_MEMORY_KILLER)        += lowmemorykiller.o
 obj-$(CONFIG_ANDROID_PMEM)             += pmem.o
 obj-$(CONFIG_ANDROID_SWITCH)           += switch/
+obj-$(CONFIG_ANDROID_INTF_ALARM)       += alarm.o
+obj-$(CONFIG_ANDROID_INTF_ALARM_DEV)   += alarm-dev.o