aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <bp@alien8.de>2012-12-18 16:02:56 -0500
committerBorislav Petkov <bpetkov@suse.de>2013-01-07 11:42:59 -0500
commit5445166384755adc39c772acccca87ad5747be52 (patch)
tree443e8775b05d9d97f958d85dd0e1d93d93fc2e5f
parent311bd84247ee0bedae6cdfbfc5e2c3450f9decd1 (diff)
EDAC: Fix EDAC Kconfig menu
After f65aad41772f("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>
-rw-r--r--drivers/edac/Kconfig8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 4c6c876d9dc3..66719925970f 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -4,6 +4,9 @@
4# Licensed and distributed under the GPL 4# Licensed and distributed under the GPL
5# 5#
6 6
7config EDAC_SUPPORT
8 bool
9
7menuconfig EDAC 10menuconfig EDAC
8 bool "EDAC (Error Detection And Correction) reporting" 11 bool "EDAC (Error Detection And Correction) reporting"
9 depends on HAS_IOMEM 12 depends on HAS_IOMEM
@@ -27,13 +30,8 @@ menuconfig EDAC
27 There is also a mailing list for the EDAC project, which can 30 There is also a mailing list for the EDAC project, which can
28 be found via the sourceforge page. 31 be found via the sourceforge page.
29 32
30config EDAC_SUPPORT
31 bool
32
33if EDAC 33if EDAC
34 34
35comment "Reporting subsystems"
36
37config EDAC_LEGACY_SYSFS 35config EDAC_LEGACY_SYSFS
38 bool "EDAC legacy sysfs" 36 bool "EDAC legacy sysfs"
39 default y 37 default y