diff options
author | Per Forlin <per.forlin@linaro.org> | 2011-09-13 23:03:29 +0200 |
---|---|---|
committer | Ulf HANSSON <ulf.hansson@stericsson.com> | 2011-10-11 15:13:24 +0200 |
commit | ab10e9e7b56effea56f35658d182ec02e6c79e67 (patch) | |
tree | 90632ad6db7f0cb13b71e9f6a62644dd28e71c35 /drivers/misc/sim_detect.c | |
parent | 8f15d5f975f60046eab7aceb229ef176b9d0cdc2 (diff) |
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>
Change-Id: I64649cf0714d3bcebe114b922ce87076123dee99
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33704
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Diffstat (limited to 'drivers/misc/sim_detect.c')
0 files changed, 0 insertions, 0 deletions