Commit df87ecbf19109bab04a92df047a9949838206abc

Authored by Per Forlin
Committed by Chris Ball
1 parent 97e4ba6a5e

fault-inject: export fault injection functions

Export symbols should_fail() and fault_create_debugfs_attr() in order
to let modules utilize the fault injection framework.

Signed-off-by: Per Forlin <per.forlin@linaro.org>
Acked-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -130,6 +130,7 @@
130 130  
131 131 return true;
132 132 }
  133 +EXPORT_SYMBOL_GPL(should_fail);
133 134  
134 135 #ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
135 136  
... ... @@ -243,6 +244,7 @@
243 244  
244 245 return ERR_PTR(-ENOMEM);
245 246 }
  247 +EXPORT_SYMBOL_GPL(fault_create_debugfs_attr);
246 248  
247 249 #endif /* CONFIG_FAULT_INJECTION_DEBUG_FS */