]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/Kconfig
x86: compile apm and voyager module only when selected in Kconfig
[linux-2.6-omap-h63xx.git] / arch / x86 / Kconfig
index 5271665a22e00763905897bc68b8cd3a69c85df1..1de28e850aa4f68e95e9235de64db22de22b4036 100644 (file)
@@ -1199,6 +1199,11 @@ source "kernel/power/Kconfig"
 
 source "drivers/acpi/Kconfig"
 
+config X86_APM_BOOT
+       bool
+       default y
+       depends on APM || APM_MODULE
+
 menuconfig APM
        tristate "APM (Advanced Power Management) BIOS support"
        depends on X86_32 && PM_SLEEP && !X86_VISWS