Commit 63332a9d authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

APM support depends on CONFIG_PM_SLEEP

Commit 296699de broke building APM
support if CONFIG_PM_SLEEP is not set.

Reported by Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
[ Simplified a bit as suggested by Rafael.   -Linus ]
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cfcd8c4f
...@@ -938,7 +938,7 @@ source "drivers/acpi/Kconfig" ...@@ -938,7 +938,7 @@ source "drivers/acpi/Kconfig"
menuconfig APM menuconfig APM
tristate "APM (Advanced Power Management) BIOS support" tristate "APM (Advanced Power Management) BIOS support"
depends on PM && !X86_VISWS depends on PM_SLEEP && !X86_VISWS
---help--- ---help---
APM is a BIOS specification for saving power using several different APM is a BIOS specification for saving power using several different
techniques. This is mostly useful for battery powered laptops with techniques. This is mostly useful for battery powered laptops with
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment