From: Borislav Petkov Date: Tue, 18 Dec 2012 21:02:56 +0000 (+0100) Subject: EDAC: Fix EDAC Kconfig menu X-Git-Tag: upstream/snapshot3+hdmi~5905^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5445166384755adc39c772acccca87ad5747be52;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 4c6c876..6671992 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig @@ -4,6 +4,9 @@ # Licensed and distributed under the GPL # +config EDAC_SUPPORT + bool + menuconfig EDAC bool "EDAC (Error Detection And Correction) reporting" depends on HAS_IOMEM @@ -27,13 +30,8 @@ menuconfig EDAC There is also a mailing list for the EDAC project, which can be found via the sourceforge page. -config EDAC_SUPPORT - bool - if EDAC -comment "Reporting subsystems" - config EDAC_LEGACY_SYSFS bool "EDAC legacy sysfs" default y