Skip to content

Commit

Permalink
APM support depends on CONFIG_PM_SLEEP
Browse files Browse the repository at this point in the history
Commit 296699d broke building APM
support if CONFIG_PM_SLEEP is not set.

Reported by Toralf Förster <[email protected]>

Signed-off-by: Stephen Rothwell <[email protected]>
[ Simplified a bit as suggested by Rafael.   -Linus ]
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
sfrothwell authored and Linus Torvalds committed Jul 30, 2007
1 parent cfcd8c4 commit 63332a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ source "drivers/acpi/Kconfig"

menuconfig APM
tristate "APM (Advanced Power Management) BIOS support"
depends on PM && !X86_VISWS
depends on PM_SLEEP && !X86_VISWS
---help---
APM is a BIOS specification for saving power using several different
techniques. This is mostly useful for battery powered laptops with
Expand Down

0 comments on commit 63332a9

Please sign in to comment.