summaryrefslogtreecommitdiff
path: root/include/linux/alarmtimer.h
diff options
context:
space:
mode:
authorMohit Aggarwal <maggarwa@codeaurora.org>2015-01-06 13:03:49 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:23:46 -0700
commit4b81b05c57d2501abbb5a07599ec6fabe011994a (patch)
tree9cb557e629f5e747d8a25213bd40e3171fdfc865 /include/linux/alarmtimer.h
parentb01a9ad44f5e560948b611b7c9705a8bd34edc71 (diff)
rtc: alarm: Change wake-up source
Currently, RTC_ALARM is used to wake-up target from suspend state and is also used for power-off alarm feature. This patch uses qtimer to wake-up from suspend state. Change-Id: Ia42cfecd573309be2f03c18b4f1c321be8202d7d Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Diffstat (limited to 'include/linux/alarmtimer.h')
-rw-r--r--include/linux/alarmtimer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/alarmtimer.h b/include/linux/alarmtimer.h
index 4bb8f585a6ea..38a75b5d4792 100644
--- a/include/linux/alarmtimer.h
+++ b/include/linux/alarmtimer.h
@@ -60,5 +60,8 @@ ktime_t alarm_expires_remaining(const struct alarm *alarm);
/* Provide way to access the rtc device being used by alarmtimers */
struct rtc_device *alarmtimer_get_rtcdev(void);
+#ifdef CONFIG_RTC_DRV_QPNP
+extern bool poweron_alarm;
+#endif
#endif