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

19 lines
420 B
C

/* 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 */