Skip to content

Commit 28ff4fd

Browse files
schischistorulf
authored andcommitted
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: Adrien Schildknecht <adrien+dev@schischi.me> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 1ff8950 commit 28ff4fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Kconfig.debug

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,8 +1523,7 @@ config FAIL_IO_TIMEOUT
15231523

15241524
config FAIL_MMC_REQUEST
15251525
bool "Fault-injection capability for MMC IO"
1526-
select DEBUG_FS
1527-
depends on FAULT_INJECTION && MMC
1526+
depends on FAULT_INJECTION_DEBUG_FS && MMC
15281527
help
15291528
Provide fault-injection capability for MMC IO.
15301529
This will make the mmc core return data errors. This is

0 commit comments

Comments
 (0)