Keep the Kconfig symbol together with the code that it guards.

Signed-off-by: Christoph Hellwig <[email protected]>
---
 block/Kconfig     | 6 ++++++
 lib/Kconfig.debug | 6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/block/Kconfig b/block/Kconfig
index 15027963472d..6c942391f65e 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -209,6 +209,12 @@ config BLK_INLINE_ENCRYPTION_FALLBACK
          by falling back to the kernel crypto API when inline
          encryption hardware is not present.
 
+config FAIL_MAKE_REQUEST
+       bool "Fault-injection capability for disk IO"
+       depends on FAULT_INJECTION
+       help
+         Provide fault-injection capability for disk IO.
+
 source "block/partitions/Kconfig"
 
 config BLK_PM
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 8ff5adcfe1e0..fb085963ec5e 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2116,12 +2116,6 @@ config FAULT_INJECTION_USERCOPY
          Provides fault-injection capability to inject failures
          in usercopy functions (copy_from_user(), get_user(), ...).
 
-config FAIL_MAKE_REQUEST
-       bool "Fault-injection capability for disk IO"
-       depends on FAULT_INJECTION && BLOCK
-       help
-         Provide fault-injection capability for disk IO.
-
 config FAIL_IO_TIMEOUT
        bool "Fault-injection capability for faking disk interrupts"
        depends on FAULT_INJECTION && BLOCK
-- 
2.53.0


Reply via email to