firmware loader: introduce module parameter to customize(v4) fw search path
authorMing Lei <ming.lei@canonical.com>
Sat, 3 Nov 2012 09:47:58 +0000 (17:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Nov 2012 23:07:18 +0000 (15:07 -0800)
commit27602842060484b564cd725241b402b0bddfb830
tree62bc5aa301675cde89a7543d169b38e62df1bcd3
parent60dac5e284fe99751e3beefe1a9cc7a0771ad73c
firmware loader: introduce module parameter to customize(v4) fw search path

This patch introduces one module parameter of 'path' in firmware_class
to support customizing firmware image search path, so that people can
use its own firmware path if the default built-in paths can't meet their
demand[1], and the typical usage is passing the below from kernel command
parameter when 'firmware_class' is built in kernel:

firmware_class.path=$CUSTOMIZED_PATH

[1], https://lkml.org/lkml/2012/10/11/337

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/firmware_class/README
drivers/base/firmware_class.c