xref: /linux/drivers/ufs/core/ufs_bsg.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2018 Western Digital Corporation
4  */
5 #ifndef UFS_BSG_H
6 #define UFS_BSG_H
7 
8 struct ufs_hba;
9 
10 #ifdef CONFIG_SCSI_UFS_BSG
11 void ufs_bsg_remove(struct ufs_hba *hba);
12 int ufs_bsg_probe(struct ufs_hba *hba);
13 #else
14 static inline void ufs_bsg_remove(struct ufs_hba *hba) {}
15 static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; }
16 #endif
17 
18 #endif /* UFS_BSG_H */
19