3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-30 23:02:18 +00:00
Brooklyn/drivers/ufs/core/ufs-fault-injection.h
Raziel K. Crowe 9c4c3c24a5 redo
2022-09-09 14:10:02 +05:00

25 lines
428 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _UFS_FAULT_INJECTION_H
#define _UFS_FAULT_INJECTION_H
#include <linux/kconfig.h>
#include <linux/types.h>
#ifdef CONFIG_SCSI_UFS_FAULT_INJECTION
bool ufs_trigger_eh(void);
bool ufs_fail_completion(void);
#else
static inline bool ufs_trigger_eh(void)
{
return false;
}
static inline bool ufs_fail_completion(void)
{
return false;
}
#endif
#endif /* _UFS_FAULT_INJECTION_H */