From: "Rafael J. Wysocki" Subject: [PATCH 5/5] PM: Clean up Kconfig dependencies Date: Tue, 8 Feb 2011 22:23:37 +0100 Message-ID: <201102082223.37975.rjw@sisk.pl> References: <1297081335-13631-1-git-send-email-broonie@opensource.wolfsonmicro.com> <20110208122159.GA8284@elte.hu> <201102082218.28015.rjw@sisk.pl> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201102082218.28015.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: Text/Plain; charset="us-ascii" To: Ingo Molnar Cc: Linus Torvalds , Mark Brown , Len Brown , Alan Stern , linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Andrew Morton , Dmitry Torokhov , linux-embedded@vger.kernel.org, Thomas Gleixner From: Rafael J. Wysocki 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 --- 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