diff --git a/kernel/power/main.c b/kernel/power/main.c index 0a9f269075ee2eef49dc17c9f995d76b64a82af3..7fb805de19a85fd6272a6562f0ccc0e9f38fa0e7 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -55,6 +55,8 @@ int pm_notifier_call_chain(unsigned long val) #endif /* CONFIG_PM_SLEEP */ +#ifdef CONFIG_SUSPEND + #ifdef CONFIG_PM_DEBUG int pm_test_level = TEST_NONE;