xref: /openbmc/linux/drivers/ufs/core/ufs_bsg.h (revision 404e077a)
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