We need an explicit dependency on FAULT_INJECTION in order to keep
FAIL_MMC_REQUEST (and subsequent entries) inside the FAULT_INJECTION
menu.

Fixes: 28ff4fda9e5b ("mmc: kconfig: replace FAULT_INJECTION with 
FAULT_INJECTION_DEBUG_FS")
Cc: Adrien Schildknecht <adrien+...@schischi.me>
Cc: Ulf Hansson <ulf.hans...@linaro.org>
Signed-off-by: Vegard Nossum <vegard.nos...@oracle.com>
---
 lib/Kconfig.debug | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 2307d7c..6baa522 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1641,7 +1641,8 @@ config FAIL_IO_TIMEOUT
 
 config FAIL_MMC_REQUEST
        bool "Fault-injection capability for MMC IO"
-       depends on FAULT_INJECTION_DEBUG_FS && MMC
+       depends on FAULT_INJECTION && MMC
+       depends on FAULT_INJECTION_DEBUG_FS
        help
          Provide fault-injection capability for MMC IO.
          This will make the mmc core return data errors. This is
-- 
1.9.1

Reply via email to