APM support depends on CONFIG_PM_SLEEP
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Jul 2007 10:12:37 +0000 (20:12 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 30 Jul 2007 17:52:10 +0000 (10:52 -0700)
commit63332a9d16e7dede26d252af3f9c4304b51e7974
treef9a5ab2c2fd40f52a1e70fa71aadb5702b306d73
parentcfcd8c4fbc4c84c286d3ebae8648914016c1ea4c
APM support depends on CONFIG_PM_SLEEP

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

Reported by Toralf Förster <toralf.foerster@gmx.de>

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
[ Simplified a bit as suggested by Rafael.   -Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/Kconfig