devres: device resource management
[powerpc.git] / drivers / base / Kconfig
index 80502dc..5d6312e 100644 (file)
@@ -20,7 +20,7 @@ config PREVENT_FIRMWARE_BUILD
 
 config FW_LOADER
        tristate "Userspace firmware loading support"
-       select HOTPLUG
+       depends on HOTPLUG
        ---help---
          This option is provided for the case where no in-kernel-tree modules
          require userspace firmware loading support, but a module built outside
@@ -37,8 +37,20 @@ config DEBUG_DRIVER
 
          If you are unsure about this, say N here.
 
-endmenu
+config DEBUG_DEVRES
+       bool "Managed device resources verbose debug messages"
+       depends on DEBUG_KERNEL
+       help
+         This option enables kernel parameter devres.log. If set to
+         non-zero, devres debug messages are printed. Select this if
+         you are having a problem with devres or want to debug
+         resource management for a managed device. devres.log can be
+         switched on and off from sysfs node.
+
+         If you are unsure about this, Say N here.
 
 config SYS_HYPERVISOR
        bool
        default n
+
+endmenu