summaryrefslogtreecommitdiffstats
path: root/kernel/power/power.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-21 14:44:02 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-24 23:55:27 +0200
commite516a1db43cea397cf63d395534236d9869f0310 (patch)
tree15706da6773caa1f1e922bc2a8b1c30dff79ae62 /kernel/power/power.h
parent9a3ebe3523cc8297301d5d95332536ad123856bf (diff)
downloadblackbird-op-linux-e516a1db43cea397cf63d395534236d9869f0310.tar.gz
blackbird-op-linux-e516a1db43cea397cf63d395534236d9869f0310.zip
PM / sleep: Put pm_test under CONFIG_PM_SLEEP_DEBUG
The pm_test sysfs attribute is under CONFIG_PM_DEBUG, but it doesn't make sense to provide it if CONFIG_PM_SLEEP is unset, so put it under CONFIG_PM_SLEEP_DEBUG instead. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r--kernel/power/power.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h
index 6e3ac6a73d65..268c1b0afc28 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -245,7 +245,7 @@ enum {
#define TEST_FIRST TEST_NONE
#define TEST_MAX (__TEST_AFTER_LAST - 1)
-#ifdef CONFIG_PM_DEBUG
+#ifdef CONFIG_PM_SLEEP_DEBUG
extern int pm_test_level;
#else
#define pm_test_level (TEST_NONE)
OpenPOWER on IntegriCloud