diff options
author | Daniel Drake <dsd@laptop.org> | 2012-04-18 18:34:02 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-07 09:02:26 -0400 |
commit | c2c21e9bb17549e8add4ff76931bcec2e2d3ad48 (patch) | |
tree | 136ce4652cbd99a57ce77fbe4d29a01f015c3838 /include/linux/cs5535.h | |
parent | d2aa37411b8e65d57d2c5ae36f0222274292020d (diff) |
x86/olpc/xo1/sci: Report RTC wakeup events
When the system is woken due to a RTC event, report the wakeup
event on the relevant rtc device (if it can be found).
Signed-off-by: Daniel Drake <dsd@laptop.org>
Cc: dilinger@queued.net
Cc: pgf@laptop.org
Link: http://lkml.kernel.org/r/20120418223402.D73249D401E@zog.reactivated.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/cs5535.h')
-rw-r--r-- | include/linux/cs5535.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cs5535.h b/include/linux/cs5535.h index c077aec3a6ff..cfe83239d7f0 100644 --- a/include/linux/cs5535.h +++ b/include/linux/cs5535.h | |||
@@ -95,6 +95,7 @@ static inline int cs5535_pic_unreqz_select_high(unsigned int group, | |||
95 | 95 | ||
96 | /* CS5536_PM1_STS bits */ | 96 | /* CS5536_PM1_STS bits */ |
97 | #define CS5536_WAK_FLAG (1 << 15) | 97 | #define CS5536_WAK_FLAG (1 << 15) |
98 | #define CS5536_RTC_FLAG (1 << 10) | ||
98 | #define CS5536_PWRBTN_FLAG (1 << 8) | 99 | #define CS5536_PWRBTN_FLAG (1 << 8) |
99 | 100 | ||
100 | /* CS5536_PM1_EN bits */ | 101 | /* CS5536_PM1_EN bits */ |