aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cs5535.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-04-18 23:34:02 +0100
committerIngo Molnar <mingo@kernel.org>2012-05-07 15:02:26 +0200
commitc2c21e9bb17549e8add4ff76931bcec2e2d3ad48 (patch)
tree136ce4652cbd99a57ce77fbe4d29a01f015c3838 /include/linux/cs5535.h
parentx86/olpc/xo1/sci: Produce wakeup events for buttons and switches (diff)
downloadlinux-dev-c2c21e9bb17549e8add4ff76931bcec2e2d3ad48.tar.xz
linux-dev-c2c21e9bb17549e8add4ff76931bcec2e2d3ad48.zip
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.h1
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,
/* CS5536_PM1_STS bits */
#define CS5536_WAK_FLAG (1 << 15)
+#define CS5536_RTC_FLAG (1 << 10)
#define CS5536_PWRBTN_FLAG (1 << 8)
/* CS5536_PM1_EN bits */