Commit 54451663 authored by Borislav Petkov's avatar Borislav Petkov Committed by Borislav Petkov

EDAC: Fix EDAC Kconfig menu

After f65aad41("MIPS: Cavium: Add EDAC support."), when entering
the "Device Drivers" toplevel menu in menuconfig, the suboptions behind
EDAC appeared merged with the rest of the device drivers types. This was
because the menuconfig option EDAC is querying an EDAC_SUPPORT Kconfig
bool which was defined after the menu definition.

When pushing EDAC_SUPPORT up, before the menu definition, the variable
is defined earlier and the above menuconfig artifact doesn't happen.

Drop a useless menuconfig comment while at it.

Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarBorislav Petkov <bp@alien8.de>
parent 311bd842
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
# Licensed and distributed under the GPL # Licensed and distributed under the GPL
# #
config EDAC_SUPPORT
bool
menuconfig EDAC menuconfig EDAC
bool "EDAC (Error Detection And Correction) reporting" bool "EDAC (Error Detection And Correction) reporting"
depends on HAS_IOMEM depends on HAS_IOMEM
...@@ -27,13 +30,8 @@ menuconfig EDAC ...@@ -27,13 +30,8 @@ menuconfig EDAC
There is also a mailing list for the EDAC project, which can There is also a mailing list for the EDAC project, which can
be found via the sourceforge page. be found via the sourceforge page.
config EDAC_SUPPORT
bool
if EDAC if EDAC
comment "Reporting subsystems"
config EDAC_LEGACY_SYSFS config EDAC_LEGACY_SYSFS
bool "EDAC legacy sysfs" bool "EDAC legacy sysfs"
default y default y
......
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