Skip to content

Commit 5445166

Browse files
bp3tk0vBorislav Petkov
authored andcommitted
EDAC: Fix EDAC Kconfig menu
After f65aad4("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: Borislav Petkov <bp@alien8.de>
1 parent 311bd84 commit 5445166

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

drivers/edac/Kconfig

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# Licensed and distributed under the GPL
55
#
66

7+
config EDAC_SUPPORT
8+
bool
9+
710
menuconfig EDAC
811
bool "EDAC (Error Detection And Correction) reporting"
912
depends on HAS_IOMEM
@@ -27,13 +30,8 @@ menuconfig EDAC
2730
There is also a mailing list for the EDAC project, which can
2831
be found via the sourceforge page.
2932

30-
config EDAC_SUPPORT
31-
bool
32-
3333
if EDAC
3434

35-
comment "Reporting subsystems"
36-
3735
config EDAC_LEGACY_SYSFS
3836
bool "EDAC legacy sysfs"
3937
default y

0 commit comments

Comments
 (0)