Commit 3f2c48c9 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Len Brown

ACPI: Use menuconfig objects

Use menuconfigs instead of menus, so the whole menu can be disabled at once
instead of going through all options.
Signed-off-by: default avatarJan Engelhardt <jengelh@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 1c1558ec
...@@ -2,16 +2,12 @@ ...@@ -2,16 +2,12 @@
# ACPI Configuration # ACPI Configuration
# #
menu "ACPI (Advanced Configuration and Power Interface) Support" menuconfig ACPI
bool "ACPI Support (Advanced Configuration and Power Interface) Support"
depends on !X86_NUMAQ depends on !X86_NUMAQ
depends on !X86_VISWS depends on !X86_VISWS
depends on !IA64_HP_SIM depends on !IA64_HP_SIM
depends on IA64 || X86 depends on IA64 || X86
depends on PM
config ACPI
bool "ACPI Support"
depends on IA64 || X86
depends on PCI depends on PCI
depends on PM depends on PM
select PNP select PNP
...@@ -49,7 +45,6 @@ if ACPI ...@@ -49,7 +45,6 @@ if ACPI
config ACPI_SLEEP config ACPI_SLEEP
bool "Sleep States" bool "Sleep States"
depends on X86 && (!SMP || SUSPEND_SMP) depends on X86 && (!SMP || SUSPEND_SMP)
depends on PM
default y default y
---help--- ---help---
This option adds support for ACPI suspend states. This option adds support for ACPI suspend states.
...@@ -82,7 +77,6 @@ config ACPI_SLEEP_PROC_SLEEP ...@@ -82,7 +77,6 @@ config ACPI_SLEEP_PROC_SLEEP
config ACPI_PROCFS config ACPI_PROCFS
bool "Procfs interface (deprecated)" bool "Procfs interface (deprecated)"
depends on ACPI
default y default y
---help--- ---help---
The Procfs interface for ACPI is made optional for backward compatibility. The Procfs interface for ACPI is made optional for backward compatibility.
...@@ -330,7 +324,6 @@ config ACPI_CONTAINER ...@@ -330,7 +324,6 @@ config ACPI_CONTAINER
config ACPI_HOTPLUG_MEMORY config ACPI_HOTPLUG_MEMORY
tristate "Memory Hotplug" tristate "Memory Hotplug"
depends on ACPI
depends on MEMORY_HOTPLUG depends on MEMORY_HOTPLUG
default n default n
help help
...@@ -359,5 +352,3 @@ config ACPI_SBS ...@@ -359,5 +352,3 @@ config ACPI_SBS
to today's ACPI "Control Method" battery. to today's ACPI "Control Method" battery.
endif # ACPI endif # ACPI
endmenu
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