In order to improve the flexibility of ufs-bsg, modulizing it is a good choice. Introduce tri-state to ufs-bsg to allow users compile it as an external module. Changes since v1: - Included one more defconfig change. Can Guo (3): scsi: ufs: Put SCSI host after remove it scsi: ufs: Modulize ufs-bsg arm64: defconfig: Compile ufs-bsg as a module arch/arm64/configs/defconfig | 1 + drivers/scsi/ufs/Kconfig | 3 ++- drivers/scsi/ufs/Makefile | 2 +- drivers/scsi/ufs/ufs_bsg.c | 49 +++++++++++++++++++++++++++++++++++++++++--- drivers/scsi/ufs/ufs_bsg.h | 8 -------- drivers/scsi/ufs/ufshcd.c | 37 +++++++++++++++++++++++++++++---- drivers/scsi/ufs/ufshcd.h | 7 ++++++- 7 files changed, 89 insertions(+), 18 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project