Skip to contentSkip to conversation

make CONFIG_ACPI a parent option for the ACPI submenu

PATCH New Tomas Szepe 1 participant 1 message Jan 1, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make CONFIG_ACPI a parent option for the ACPI submenu

Trivial: make CONFIG_ACPI a parent option for the ACPI submenu. The submenu will only be shown when ACPI support is enabled.

Signature · 24 lines
Tomas Szepe <[email protected]>

diff -urN a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
--- a/drivers/acpi/Kconfig	2002-12-16 07:01:47.000000000 +0100
+++ b/drivers/acpi/Kconfig	2003-01-01 16:53:48.000000000 +0100
@@ -2,8 +2,6 @@
 # ACPI Configuration
 #
 
-menu "ACPI Support"
-
 config ACPI
 	bool "ACPI Support" if X86
 	default y if IA64 && (!IA64_HP_SIM || IA64_SGI_SN)
@@ -35,6 +33,9 @@
 	  available at:
 	  <http://www.acpi.info>
 
+menu "ACPI Support configuration"
+	depends on ACPI
+
 config ACPI_HT_ONLY
 	bool "CPU Enumeration Only"
 	depends on X86 && ACPI && X86_LOCAL_APIC