aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2012-03-16 17:44:42 -0700
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-09-27 02:50:40 +0200
commit04e871a6df3467feb223f02851fb6f739c3d7928 (patch)
tree76b74986542046581cc226eedbc4b7a48a5913a4 /kernel
parent35ec68ce21b6a6e0bff506eb2532f80716495cf5 (diff)
downloadkernel_i9300_mainline-04e871a6df3467feb223f02851fb6f739c3d7928.zip
kernel_i9300_mainline-04e871a6df3467feb223f02851fb6f739c3d7928.tar.gz
kernel_i9300_mainline-04e871a6df3467feb223f02851fb6f739c3d7928.tar.bz2
PM / Sleep: Add wake lock api wrapper on top of wakeup sources
Change-Id: Icaad02fe1e8856fdc2e4215f380594a5dde8e002 Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 68d3ebc..0e91e77 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -28,6 +28,10 @@ config SUSPEND_SKIP_SYNC
of suspend, or they are content with invoking sync() from
user-space before invoking suspend. Say Y if that's your case.
+config WAKELOCK
+ bool
+ default y
+
config HIBERNATE_CALLBACKS
bool