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