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)
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>

No differences found