Commit 28ff4fda authored by Adrien Schildknecht's avatar Adrien Schildknecht Committed by Ulf Hansson

mmc: kconfig: replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS

Fault-injection capability for MMC IO uses debugfs entries to configure
the attributes.
FAULT_INJECTION_DEBUG_FS must be enabled to use FAIL_MMC_REQUEST.

Replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS.
Also remove 'select DEBUG_FS' since FAULT_INJECTION_DEBUG_FS depends on
it.
Signed-off-by: default avatarAdrien Schildknecht <adrien+dev@schischi.me>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 1ff8950c
...@@ -1523,8 +1523,7 @@ config FAIL_IO_TIMEOUT ...@@ -1523,8 +1523,7 @@ config FAIL_IO_TIMEOUT
config FAIL_MMC_REQUEST config FAIL_MMC_REQUEST
bool "Fault-injection capability for MMC IO" bool "Fault-injection capability for MMC IO"
select DEBUG_FS depends on FAULT_INJECTION_DEBUG_FS && MMC
depends on FAULT_INJECTION && MMC
help help
Provide fault-injection capability for MMC IO. Provide fault-injection capability for MMC IO.
This will make the mmc core return data errors. This is This will make the mmc core return data errors. This is
......
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