Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2d51540 authored by Sayali Lokhande's avatar Sayali Lokhande
Browse files

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: default avatarSayali Lokhande <sayalil@codeaurora.org>
parent 55cc722e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}