]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: add module param to set fault injection attributes
authorPer Forlin <per.forlin@linaro.org>
Tue, 13 Sep 2011 21:03:29 +0000 (23:03 +0200)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:12 +0000 (16:32 -0400)
commita5d3fe2972efc7ae9d4c196d3aadcacabed2229a
treeff434aab2d3c4c3de2f62aa60079b1f49974a9a7
parent4900cf1f810b3354d3342bb59fbeabcc99a201e3
mmc: add module param to set fault injection attributes

Replace setup("fail_mmc_request") and faulty "ifdef KERNEL" with
a simple module_param(). The module param mmc_core.fail_request
may be used to set the fault injection attributes during boot time
or module load time.

Signed-off-by: Per Forlin <per.forlin@linaro.org>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/debugfs.c