From a2d5154013c696fbb33421d0bef5793ff1d6524e Mon Sep 17 00:00:00 2001 From: Sayali Lokhande Date: Thu, 11 Jan 2018 09:04:28 +0530 Subject: [PATCH] scsi: ufs-qcom: Fix compilation error in ufs bus voting When CONFIG_QCOM_BUS_SCALING is not defined, compilation error is observed for ufs_qcom_set_bus_vote(), as incorrect arguments are being passed in its defination. This change fixes compilation error by passing correct arguments to ufs_qcom_set_bus_vote() function. Change-Id: I4c502482bf8dda46fd1352a097ade90f67fe1d73 Signed-off-by: Sayali Lokhande --- drivers/scsi/ufs/ufs-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index f429547aef7b..7eb56beea508 100644 --- a/drivers/scsi/ufs/ufs-qcom.c +++ b/drivers/scsi/ufs/ufs-qcom.c @@ -1270,7 +1270,7 @@ static int ufs_qcom_update_bus_bw_vote(struct ufs_qcom_host *host) return 0; } -static int ufs_qcom_set_bus_vote(struct ufs_qcom_host *host, int vote) +static int ufs_qcom_set_bus_vote(struct ufs_hba *hba, bool on) { return 0; }