summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-12-05 03:07:38 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-13 15:38:46 -0800
commitf89bce3d9afc6b1fb898ae176df4962c1303ee86 (patch)
treeb3898753209ecb304d528921f1eb8ad044cace98 /kernel/power
parent6eefd34fdcbd34e2cddb8b7da26d838367591954 (diff)
downloadop-kernel-dev-f89bce3d9afc6b1fb898ae176df4962c1303ee86.zip
op-kernel-dev-f89bce3d9afc6b1fb898ae176df4962c1303ee86.tar.gz
Driver core: deprecate PM_LEGACY, default it to N
Deprecate the old "legacy" PM API, and more importantly default it to "n". Virtually nothing in-tree uses it any more. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/Kconfig9
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 710ed08..ed29622 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -20,13 +20,14 @@ config PM
sending the processor to sleep and saving power.
config PM_LEGACY
- bool "Legacy Power Management API"
+ bool "Legacy Power Management API (DEPRECATED)"
depends on PM
- default y
+ default n
---help---
- Support for pm_register() and friends.
+ Support for pm_register() and friends. This old API is obsoleted
+ by the driver model.
- If unsure, say Y.
+ If unsure, say N.
config PM_DEBUG
bool "Power Management Debug Support"
OpenPOWER on IntegriCloud