commit | c1783f55b10d7dfb4ada9a7149821b644255d8df | [log] [tgz] |
---|---|---|
author | Arve Hjønnevåg <arve@android.com> | Tue Oct 07 20:48:01 2008 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Jun 14 09:08:42 2011 -0700 |
tree | b57f37018d30e734588c761366168c9255c95d2b | |
parent | 1b0749512f76005ce41607472e6f36411fa96649 [diff] [blame] |
PM: Implement early suspend api
diff --git a/kernel/power/power.h b/kernel/power/power.h index a48dd02..491c2db 100644 --- a/kernel/power/power.h +++ b/kernel/power/power.h
@@ -252,3 +252,9 @@ extern struct wake_lock main_wake_lock; extern suspend_state_t requested_suspend_state; #endif + +#ifdef CONFIG_EARLYSUSPEND +/* kernel/power/earlysuspend.c */ +void request_suspend_state(suspend_state_t state); +suspend_state_t get_suspend_state(void); +#endif