diff options
Diffstat (limited to 'drivers/ufs/core/ufs_bsg.h')
-rw-r--r-- | drivers/ufs/core/ufs_bsg.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/ufs/core/ufs_bsg.h b/drivers/ufs/core/ufs_bsg.h new file mode 100644 index 000000000000..57712d2656d2 --- /dev/null +++ b/drivers/ufs/core/ufs_bsg.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 Western Digital Corporation + */ +#ifndef UFS_BSG_H +#define UFS_BSG_H + +struct ufs_hba; + +#ifdef CONFIG_SCSI_UFS_BSG +void ufs_bsg_remove(struct ufs_hba *hba); +int ufs_bsg_probe(struct ufs_hba *hba); +#else +static inline void ufs_bsg_remove(struct ufs_hba *hba) {} +static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; } +#endif + +#endif /* UFS_BSG_H */ |