]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: fix menuconfig presentation of ACPI submenu
authorArnd Bergmann <arnd@arndb.de>
Tue, 21 Aug 2018 20:37:33 +0000 (22:37 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Aug 2018 08:20:07 +0000 (10:20 +0200)
commit8c4408360aa1b99e6fcf1d5d6dbb0afa881d28ae
tree2349cb78075c1d8c47a47870a8e2d2cf1505634a
parent8c7ca22575db380f53817021a9efe6082b8bd29a
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 <ard.biesheuvel@linaro.org>
Fixes: 116b3302ee72 (arm64: fix ACPI dependencies)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig