Skip to content

Commit

Permalink
ACPI: Use menuconfig objects
Browse files Browse the repository at this point in the history
Use menuconfigs instead of menus, so the whole menu can be disabled at once
instead of going through all options.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Jan Engelhardt authored and Len Brown committed Jul 3, 2007
1 parent 1c1558e commit 3f2c48c
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions drivers/acpi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@
# 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_VISWS
depends on !IA64_HP_SIM
depends on IA64 || X86
depends on PM

config ACPI
bool "ACPI Support"
depends on IA64 || X86
depends on PCI
depends on PM
select PNP
Expand Down Expand Up @@ -49,7 +45,6 @@ if ACPI
config ACPI_SLEEP
bool "Sleep States"
depends on X86 && (!SMP || SUSPEND_SMP)
depends on PM
default y
---help---
This option adds support for ACPI suspend states.
Expand Down Expand Up @@ -82,7 +77,6 @@ config ACPI_SLEEP_PROC_SLEEP

config ACPI_PROCFS
bool "Procfs interface (deprecated)"
depends on ACPI
default y
---help---
The Procfs interface for ACPI is made optional for backward compatibility.
Expand Down Expand Up @@ -330,7 +324,6 @@ config ACPI_CONTAINER

config ACPI_HOTPLUG_MEMORY
tristate "Memory Hotplug"
depends on ACPI
depends on MEMORY_HOTPLUG
default n
help
Expand Down Expand Up @@ -359,5 +352,3 @@ config ACPI_SBS
to today's ACPI "Control Method" battery.

endif # ACPI

endmenu

0 comments on commit 3f2c48c

Please sign in to comment.