aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/main.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2007-12-07 20:03:26 -0500
committerLen Brown <len.brown@intel.com>2008-02-01 18:30:54 -0500
commit2ed43b63285c394cb5e1829c199cc94c7b8233b9 (patch)
tree6131e028d746b2fc77e53c53285a2e0896491266 /kernel/power/main.c
parent825257569350e913bee3bc918508c0aa6e3398cd (diff)
Suspend: Fix compilation warning for CONFIG_SUSPEND unset
Suspend: Make debug facility depend on CONFIG_SUSPEND Make the new suspend debug facility code depend on CONFIG_SUSPEND, as appropriate, to remove the compiler warning printed when CONFIG_PM is set and CONFIG_SUSPEND is not set. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/power/main.c')
-rw-r--r--kernel/power/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c
index 0a9f269075ee..7fb805de19a8 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -55,6 +55,8 @@ int pm_notifier_call_chain(unsigned long val)
55 55
56#endif /* CONFIG_PM_SLEEP */ 56#endif /* CONFIG_PM_SLEEP */
57 57
58#ifdef CONFIG_SUSPEND
59
58#ifdef CONFIG_PM_DEBUG 60#ifdef CONFIG_PM_DEBUG
59int pm_test_level = TEST_NONE; 61int pm_test_level = TEST_NONE;
60 62