This patch prevents mmc core to be built as a module if mmc fault
injection is selected.
Changes needed to resolve this:
* remove fault inject module from core.c
* export should_fail() and init_fault_attr_dentries() in fault-injection.c
* update documentation fault-injection.txt
On 1 July 2011
This simple fault injection proved to be very useful to
test the error handling in the block.c rw_rq(). It may
still be useful to test if the host driver handle
pre_req() and post_req() correctly in case of errors.
Signed-off-by: Per Forlin
Acked-by: Kyungmin Park
Acked-by: Arnd Bergmann
Review