File Index
Files and directories
Sign in
FILE

ufs_bsg.h

File preview with syntax highlighting.

linux-6.19.14/drivers/ufs/core/ufs_bsg.h C
 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
 8struct ufs_hba;
 9
10#ifdef CONFIG_SCSI_UFS_BSG
11void ufs_bsg_remove(struct ufs_hba *hba);
12int ufs_bsg_probe(struct ufs_hba *hba);
13#else
14static inline void ufs_bsg_remove(struct ufs_hba *hba) {}
15static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; }
16#endif
17
18#endif /* UFS_BSG_H */
~/ Read-only file preview.