drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()
[drm/drm-misc.git] / drivers / ufs / core / ufs_bsg.h
blob57712d2656d2a28dc72f6d390ca607dca5d44205
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
8 struct ufs_hba;
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
18 #endif /* UFS_BSG_H */