summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaniv Gardi <ygardi@codeaurora.org>2015-08-23 16:29:45 +0300
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:00:35 -0700
commitd502efe061149f06cfa47d46aa1fcc2f7e84703c (patch)
treeecedac0f5b75f1c84a5a8b8176d8720d63963ae5
parentcb90b9b0813a22ce3b87d379d9c9fd7260a5028e (diff)
scsi: ufs: fix parameter type from bool to enum ufs_notify_change_status
This change fixes the signature of the routine ufshcd_vops_clk_scale_notify() and the callback clk_scale_notify to receive enum ufs_notify_change_status instead of bool as their 3rd parameter. Change-Id: I8463f4f5f0a77bcbc3b0bcdfd05d1a02e334dc8e Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
-rw-r--r--drivers/scsi/ufs/ufs-qcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c
index 56e365a2c535..6f56a94e8c85 100644
--- a/drivers/scsi/ufs/ufs-qcom.c
+++ b/drivers/scsi/ufs/ufs-qcom.c
@@ -1953,7 +1953,7 @@ static int ufs_qcom_clk_scale_down_post_change(struct ufs_hba *hba)
}
static int ufs_qcom_clk_scale_notify(struct ufs_hba *hba,
- bool scale_up, bool status)
+ bool scale_up, enum ufs_notify_change_status status)
{
struct ufs_qcom_host *host = ufshcd_get_variant(hba);
struct ufs_pa_layer_attr *dev_req_params = &host->dev_req_params;