Skip to content

Commit

Permalink
mmc: kconfig: replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS
Browse files Browse the repository at this point in the history
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: Adrien Schildknecht <adrien+dev@schischi.me>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  • Loading branch information
Adrien Schildknecht authored and Ulf Hansson committed Dec 22, 2015
1 parent 1ff8950 commit 28ff4fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -1523,8 +1523,7 @@ config FAIL_IO_TIMEOUT

config FAIL_MMC_REQUEST
bool "Fault-injection capability for MMC IO"
select DEBUG_FS
depends on FAULT_INJECTION && MMC
depends on FAULT_INJECTION_DEBUG_FS && MMC
help
Provide fault-injection capability for MMC IO.
This will make the mmc core return data errors. This is
Expand Down

0 comments on commit 28ff4fd

Please sign in to comment.