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)
commit34f5050800d600551cca9bcfb463cc6699d82d04
treeff434aab2d3c4c3de2f62aa60079b1f49974a9a7
parent6cba00eaa95c1ace1fb511f534b233ae302ccb2e
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