[PATCH 5/5] PM: Clean up Kconfig dependencies
From: Rafael J. Wysocki
Date: Tue Feb 08 2011 - 16:24:40 EST
From: Rafael J. Wysocki <rjw@xxxxxxx>
CONFIG_PM_SLEEP_ADVANCED_DEBUG should depend on CONFIG_PM_SLEEP
and CONFIG_CAN_PM_TRACE need not depend on EXPERIMENTAL. Modify
kernel/power/Kconfig along those lines.
Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
---
kernel/power/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/kernel/power/Kconfig
===================================================================
--- linux-2.6.orig/kernel/power/Kconfig
+++ linux-2.6/kernel/power/Kconfig
@@ -142,7 +142,7 @@ config PM_ADVANCED_DEBUG
config PM_SLEEP_ADVANCED_DEBUG
bool
- depends on PM_ADVANCED_DEBUG
+ depends on PM_ADVANCED_DEBUG && PM_SLEEP
default n
config PM_TEST_SUSPEND
@@ -158,7 +158,7 @@ config PM_TEST_SUSPEND
config CAN_PM_TRACE
def_bool y
- depends on PM_DEBUG && PM_SLEEP && EXPERIMENTAL
+ depends on PM_DEBUG && PM_SLEEP
config PM_TRACE
bool
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/