root/drivers/scsi/ufs/ufs_bsg.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. ufs_bsg_remove
  2. ufs_bsg_probe

   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 #include <linux/bsg-lib.h>
   9 #include <scsi/scsi.h>
  10 #include <scsi/scsi_host.h>
  11 
  12 #include "ufshcd.h"
  13 #include "ufs.h"
  14 
  15 #ifdef CONFIG_SCSI_UFS_BSG
  16 void ufs_bsg_remove(struct ufs_hba *hba);
  17 int ufs_bsg_probe(struct ufs_hba *hba);
  18 #else
  19 static inline void ufs_bsg_remove(struct ufs_hba *hba) {}
  20 static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; }
  21 #endif
  22 
  23 #endif /* UFS_BSG_H */

/* [<][>][^][v][top][bottom][index][help] */