summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshcd.c
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2018-10-07 16:30:39 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-11 05:09:47 +0200
commite77044c5a8422e4e139f0a2ac5d49f4075779594 (patch)
treeec23493895bb8c555fb4a876cf3c3d324fa54955 /drivers/scsi/ufs/ufshcd.c
parentscsi: ufs-bsg: Add support for raw upiu in ufs_bsg_request() (diff)
downloadlinux-e77044c5a8422e4e139f0a2ac5d49f4075779594.tar.xz
linux-e77044c5a8422e4e139f0a2ac5d49f4075779594.zip
scsi: ufs-bsg: Add support for uic commands in ufs_bsg_request()
Make ufshcd_send_uic_cmd() public for that. Signed-off-by: Avri Altman <avri.altman@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <Bart.VanAssche@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd.c')
-rw-r--r--drivers/scsi/ufs/ufshcd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 3be14bfd25d4..02280dbf4a2d 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -2059,8 +2059,7 @@ __ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd,
*
* Returns 0 only if success.
*/
-static int
-ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd)
+int ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd)
{
int ret;
unsigned long flags;