mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ACPI: fix menuconfig presentation of ACPI submenu
My fix for a recursive Kconfig dependency caused another issue where the
ACPI specific options end up in the top-level menu in 'menuconfig'. This
was an unintended side-effect of having a silent option between
'menuconfig ACPI' and 'if ACPI'.
Moving the ARCH_SUPPORTS_ACPI symbol ahead of the ACPI menu solves that
problem and restores the previous presentation.
Reported-by: Ard Biesheuvel <[email protected]>
Fixes: 2c870e6113 (arm64: fix ACPI dependencies)
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
df2def49c5
commit
f5d707ede3
1 changed files with 3 additions and 3 deletions
|
|
@ -3,6 +3,9 @@
|
|||
# ACPI Configuration
|
||||
#
|
||||
|
||||
config ARCH_SUPPORTS_ACPI
|
||||
bool
|
||||
|
||||
menuconfig ACPI
|
||||
bool "ACPI (Advanced Configuration and Power Interface) Support"
|
||||
depends on ARCH_SUPPORTS_ACPI
|
||||
|
|
@ -40,9 +43,6 @@ menuconfig ACPI
|
|||
<http://www.acpi.info>
|
||||
<http://www.uefi.org/acpi/specs>
|
||||
|
||||
config ARCH_SUPPORTS_ACPI
|
||||
bool
|
||||
|
||||
if ACPI
|
||||
|
||||
config ACPI_LEGACY_TABLES_LOOKUP
|
||||
|
|
|
|||
Loading…
Reference in a new issue