diff options
author | Arve Hjønnevåg <arve@android.com> | 2012-03-16 17:44:42 -0700 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-21 22:34:37 -0500 |
commit | 86cdc45d6fa3d5e504d28a0fbdb9cef2a5fc6432 (patch) | |
tree | c27d133db3c0b4eb355ac477c217e878fc80aaba /kernel | |
parent | 54618e05fc6dd45700d9e0439532bea2dda45cd8 (diff) |
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/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 5f90fabf943d..f8cc6c43efec 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -18,6 +18,14 @@ config SUSPEND_FREEZER Turning OFF this setting is NOT recommended! If in doubt, say Y. +config HAS_WAKELOCK + bool + default y + +config WAKELOCK + bool + default y + config HIBERNATE_CALLBACKS bool |