Merge tag 'devicetree-for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh...
[cascardo/linux.git] / drivers / base / Kconfig
index 98504ec..fdf44ca 100644 (file)
@@ -212,6 +212,16 @@ config DEBUG_DEVRES
 
          If you are unsure about this, Say N here.
 
+config DEBUG_TEST_DRIVER_REMOVE
+       bool "Test driver remove calls during probe"
+       depends on DEBUG_KERNEL
+       help
+         Say Y here if you want the Driver core to test driver remove functions
+         by calling probe, remove, probe. This tests the remove path without
+         having to unbind the driver or unload the driver module.
+
+         If you are unsure about this, say N here.
+
 config SYS_HYPERVISOR
        bool
        default n