mmc: add module param to set fault injection attributes
authorPer Forlin <[email protected]>
Tue, 13 Sep 2011 21:03:29 +0000 (23:03 +0200)
committerChris Ball <[email protected]>
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 <[email protected]>
Reviewed-by: Akinobu Mita <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
drivers/mmc/core/debugfs.c