1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _UFS_FAULT_INJECTION_H
4 #define _UFS_FAULT_INJECTION_H
5 
6 #include <linux/kconfig.h>
7 #include <linux/types.h>
8 
9 #ifdef CONFIG_SCSI_UFS_FAULT_INJECTION
10 bool ufs_trigger_eh(void);
11 bool ufs_fail_completion(void);
12 #else
ufs_trigger_eh(void)13 static inline bool ufs_trigger_eh(void)
14 {
15 	return false;
16 }
17 
ufs_fail_completion(void)18 static inline bool ufs_fail_completion(void)
19 {
20 	return false;
21 }
22 #endif
23 
24 #endif /* _UFS_FAULT_INJECTION_H */
25