diff options
| author | Takashi Iwai <tiwai@suse.de> | 2013-01-31 05:13:55 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-03 20:57:40 -0500 |
| commit | 7b1269f778782d2f42994a74bf4014d0cbebbf9f (patch) | |
| tree | c6b76a1310fb7c6910a8450c2c6f13f703a2da86 /drivers/base/Kconfig | |
| parent | 4e0c92d015235d1dc65f9668a10cef2cea468ba2 (diff) | |
firmware: Make user-mode helper optional
This patch adds a new kconfig, CONFIG_FW_LOADER_USER_HELPER, and
guards the user-helper codes in firmware_class.c with ifdefs.
Yeah, yeah, there are lots of ifdefs in this patch. The further
clean-up with code shuffling follows in the next.
Acked-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/Kconfig')
| -rw-r--r-- | drivers/base/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index c8b453939da2..07abd9d76f7f 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig | |||
| @@ -145,6 +145,17 @@ config EXTRA_FIRMWARE_DIR | |||
| 145 | this option you can point it elsewhere, such as /lib/firmware/ or | 145 | this option you can point it elsewhere, such as /lib/firmware/ or |
| 146 | some other directory containing the firmware files. | 146 | some other directory containing the firmware files. |
| 147 | 147 | ||
| 148 | config FW_LOADER_USER_HELPER | ||
| 149 | bool "Fallback user-helper invocation for firmware loading" | ||
| 150 | depends on FW_LOADER | ||
| 151 | default y | ||
| 152 | help | ||
| 153 | This option enables / disables the invocation of user-helper | ||
| 154 | (e.g. udev) for loading firmware files as a fallback after the | ||
| 155 | direct file loading in kernel fails. The user-mode helper is | ||
| 156 | no longer required unless you have a special firmware file that | ||
| 157 | resides in a non-standard path. | ||
| 158 | |||
| 148 | config DEBUG_DRIVER | 159 | config DEBUG_DRIVER |
| 149 | bool "Driver Core verbose debug messages" | 160 | bool "Driver Core verbose debug messages" |
| 150 | depends on DEBUG_KERNEL | 161 | depends on DEBUG_KERNEL |
