diff options
| author | Mao Jinlong <c_jmao@codeaurora.org> | 2016-02-17 15:21:49 +0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:08:58 -0700 |
| commit | f0aafc992657d6a4128d65b375414878eaee0ea9 (patch) | |
| tree | 0f927ec586703b1931b52d9d01b37d958417afdd /include/uapi | |
| parent | 439e21802ec6ec29b959ef9c46abd93a7fd17b9a (diff) | |
rtc: alarm: Add power-on alarm feature
Android does not support powering-up the phone through alarm.
Set rtc alarm in timerfd to power-up the phone after alarm
expiration.
Change-Id: I781389c658fb00ba7f0ce089d706c10f202a7dc6
Signed-off-by: Mao Jinlong <c_jmao@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/time.h b/include/uapi/linux/time.h index e75e1b6ff27f..7fe799e867d4 100644 --- a/include/uapi/linux/time.h +++ b/include/uapi/linux/time.h @@ -56,6 +56,7 @@ struct itimerval { #define CLOCK_BOOTTIME_ALARM 9 #define CLOCK_SGI_CYCLE 10 /* Hardware specific */ #define CLOCK_TAI 11 +#define CLOCK_POWEROFF_ALARM 12 #define MAX_CLOCKS 16 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) |
